Closed
Bug 286381
Opened 19 years ago
Closed 19 years ago
parse |<style>foo{bar:baz}</style| as CSS, not as content
Categories
(Core :: DOM: HTML Parser, defect)
Core
DOM: HTML Parser
Tracking
()
RESOLVED
FIXED
People
(Reporter: annevk, Assigned: mrbkap)
References
()
Details
(Keywords: testcase)
Attachments
(1 file)
1.93 KB,
patch
|
bzbarsky
:
review+
jst
:
superreview+
|
Details | Diff | Splinter Review |
If we do this we would emulate IEs behavior and we would probably be more compliant with the SGML specification.
Assignee | ||
Comment 1•19 years ago
|
||
Note that IE's behavior is a bit more complex. IE will only execute <script> if there is a closing </script> (with optional whitespace before the >). If it finds |</script|, then it will consume up to the </script, but it won't execute it. Since we can't follow this behavior exactly, I just refuse to recognize the </script.
Assignee: parser → mrbkap
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•19 years ago
|
||
Oops, hit submit too soon. I forgot to mention that IE does not require the closing > for <style>.
Assignee | ||
Updated•19 years ago
|
Attachment #177706 -
Flags: review?(bzbarsky)
Updated•19 years ago
|
Attachment #177706 -
Flags: review?(bzbarsky) → review+
Assignee | ||
Updated•19 years ago
|
Attachment #177706 -
Flags: superreview?(jst)
Comment 3•19 years ago
|
||
Comment on attachment 177706 [details] [diff] [review] patch v1 sr=jst
Attachment #177706 -
Flags: superreview?(jst) → superreview+
Assignee | ||
Comment 4•19 years ago
|
||
Fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•