mirror of
https://github.com/servo/servo.git
synced 2025-08-10 07:55:33 +01:00
Determine the initial state for fragment parsing using the scripting flag of the context element (#37704)
When parsing a html fragment, the initial parser state depends on whether or not scripting is enabled. So far we've used the scripting flag of the parser, but that is wrong - the parser's scripting flag is always false, because the fragment document has no browsing context. Instead we should use the scripting flag of the context element. Testing: A new web platform test passes --------- Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
This commit is contained in:
parent
4dded465a4
commit
cbb0407ae6
6 changed files with 48 additions and 35 deletions
|
@ -1,3 +0,0 @@
|
|||
[tokenizer-modes-001.html]
|
||||
[</noscript> should not break out of noscript.]
|
||||
expected: FAIL
|
Loading…
Add table
Add a link
Reference in a new issue