WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
39915
[chromium] Style tags get inserted into non-HTML documents
https://bugs.webkit.org/show_bug.cgi?id=39915
Summary
[chromium] Style tags get inserted into non-HTML documents
Aaron Boodman
Reported
2010-05-28 16:32:19 PDT
[chromium] Style tags get inserted into non-HTML documents
Attachments
Patch
(1.24 KB, patch)
2010-05-28 16:36 PDT
,
Aaron Boodman
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Aaron Boodman
Comment 1
2010-05-28 16:36:12 PDT
Created
attachment 57395
[details]
Patch
Aaron Boodman
Comment 2
2010-05-28 16:41:42 PDT
This is an alternate fix to what I was trying to get done in
bug 39887
. Once this is in, I'll revert that one.
Eric Seidel (no email)
Comment 3
2010-05-28 16:42:57 PDT
Comment on
attachment 57395
[details]
Patch I dont' really understand what this does (and it looks like the indentation is off). SVG has a<style> tag too. What are you trying to accomplish?
Darin Fisher (:fishd, Google)
Comment 4
2010-05-29 13:43:20 PDT
Note: The WebKit API exposes WebDocument::documentElement() and WebElement::hasTagName() methods, so it would be possible to test this on the side of the embedder if it could make sense to insert style text into a document that doesn't have a html tag as its root.
Aaron Boodman
Comment 5
2010-05-29 13:52:09 PDT
I'm going to go ahead and move this to the Chromium side.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug