-
-
Notifications
You must be signed in to change notification settings - Fork 211
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1304 from capricorn86/1039-can-not-parse-correctl…
…y-html-with-nested-ul-and-li-tags 1039 can not parse correctly html with nested ul and li tags
- Loading branch information
Showing
11 changed files
with
815 additions
and
200 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
9 changes: 9 additions & 0 deletions
9
packages/happy-dom/src/config/HTMLElementConfigContentModelEnum.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
enum HTMLElementConfigContentModelEnum { | ||
rawText = 'rawText', | ||
noSelfDescendants = 'noSelfDescendants', | ||
noFirsLevelSelfDescendants = 'noFirsLevelSelfDescendants', | ||
noDescendants = 'noDescendants', | ||
anyDescendants = 'anyDescendants' | ||
} | ||
|
||
export default HTMLElementConfigContentModelEnum; |
119 changes: 0 additions & 119 deletions
119
packages/happy-dom/src/config/HTMLElementLocalNameToClass.ts
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import HTMLElementConfigContentModelEnum from './HTMLElementConfigContentModelEnum.js'; | ||
|
||
export default interface IHTMLElementConfigEntity { | ||
className: string; | ||
localName: string; | ||
tagName: string; | ||
contentModel: HTMLElementConfigContentModelEnum; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.