WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
79935
REGRESSION: <content> element is not HTMLUnknownElement when Shadow DOM API is disabled
https://bugs.webkit.org/show_bug.cgi?id=79935
Summary
REGRESSION: <content> element is not HTMLUnknownElement when Shadow DOM API i...
Dimitri Glazkov (Google)
Reported
2012-02-29 12:53:01 PST
Even when the shadow DOM API is disabled, the <content> element exhibits traits of something other than HTMLUnknownElement:
http://jsfiddle.net/dglazkov/dmXVf/
Attachments
Patch
(12.76 KB, patch)
2012-03-05 17:28 PST
,
Hajime Morrita
no flags
Details
Formatted Diff
Diff
Patch
(17.82 KB, patch)
2012-03-06 00:44 PST
,
Hajime Morrita
no flags
Details
Formatted Diff
Diff
Patch
(17.85 KB, patch)
2012-03-06 02:03 PST
,
Hajime Morrita
no flags
Details
Formatted Diff
Diff
Patch for landing
(17.92 KB, patch)
2012-03-06 17:04 PST
,
Hajime Morrita
no flags
Details
Formatted Diff
Diff
Show Obsolete
(3)
View All
Add attachment
proposed patch, testcase, etc.
Hajime Morrita
Comment 1
2012-03-01 23:29:35 PST
I'm working on this.
Hajime Morrita
Comment 2
2012-03-05 17:28:51 PST
Created
attachment 130246
[details]
Patch
Build Bot
Comment 3
2012-03-05 17:51:22 PST
Comment on
attachment 130246
[details]
Patch
Attachment 130246
[details]
did not pass mac-ews (mac): Output:
http://queues.webkit.org/results/11837079
Build Bot
Comment 4
2012-03-05 18:38:56 PST
Comment on
attachment 130246
[details]
Patch
Attachment 130246
[details]
did not pass win-ews (win): Output:
http://queues.webkit.org/results/11833099
Early Warning System Bot
Comment 5
2012-03-05 19:03:19 PST
Comment on
attachment 130246
[details]
Patch
Attachment 130246
[details]
did not pass qt-ews (qt): Output:
http://queues.webkit.org/results/11832096
Gyuyoung Kim
Comment 6
2012-03-05 22:32:41 PST
Comment on
attachment 130246
[details]
Patch
Attachment 130246
[details]
did not pass efl-ews (efl): Output:
http://queues.webkit.org/results/11839156
Hajime Morrita
Comment 7
2012-03-06 00:44:13 PST
Created
attachment 130321
[details]
Patch
Early Warning System Bot
Comment 8
2012-03-06 01:37:45 PST
Comment on
attachment 130321
[details]
Patch
Attachment 130321
[details]
did not pass qt-ews (qt): Output:
http://queues.webkit.org/results/11839242
Build Bot
Comment 9
2012-03-06 01:44:49 PST
Comment on
attachment 130321
[details]
Patch
Attachment 130321
[details]
did not pass win-ews (win): Output:
http://queues.webkit.org/results/11839243
Hajime Morrita
Comment 10
2012-03-06 02:03:17 PST
Created
attachment 130339
[details]
Patch
Dimitri Glazkov (Google)
Comment 11
2012-03-06 09:01:13 PST
Comment on
attachment 130339
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=130339&action=review
> Source/WebCore/ChangeLog:9 > + which allows HTMLElementFactory and HTMLElementWrapperFacotry to check RuntimeEnabledFeatures
Facotry -> Factory
> Source/WebCore/html/HTMLTagNames.in:97 > +shadow interfaceName=HTMLShadowElement, conditional=SHADOW_DOM, runtimeFeature=shadowDOM
Adam already added runtimeConditional flag in
http://trac.webkit.org/changeset/106603
, so let's use that instead.
Dimitri Glazkov (Google)
Comment 12
2012-03-06 09:01:40 PST
Adam, Haraken -- could you take a look at the generator code?
Adam Barth
Comment 13
2012-03-06 10:55:01 PST
Comment on
attachment 130339
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=130339&action=review
This looks fine. make_names.pl is something of a disaster file, but I haven't worked up the steam to clean it up yet.
>> Source/WebCore/html/HTMLTagNames.in:97 >> +shadow interfaceName=HTMLShadowElement, conditional=SHADOW_DOM, runtimeFeature=shadowDOM > > Adam already added runtimeConditional flag in
http://trac.webkit.org/changeset/106603
, so let's use that instead.
Yeah, I think runtimeConditional is a slightly better name.
Hajime Morrita
Comment 14
2012-03-06 16:10:23 PST
Dimitri, Adam, thanks for taking a look! (In reply to
comment #13
)
> (From update of
attachment 130339
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=130339&action=review
> > This looks fine. make_names.pl is something of a disaster file, but I haven't worked up the steam to clean it up yet.
True. People who don't know perl like me have made such a disaster...
> > >> Source/WebCore/html/HTMLTagNames.in:97 > >> +shadow interfaceName=HTMLShadowElement, conditional=SHADOW_DOM, runtimeFeature=shadowDOM > > > > Adam already added runtimeConditional flag in
http://trac.webkit.org/changeset/106603
, so let's use that instead. > > Yeah, I think runtimeConditional is a slightly better name.
Great! I'll rename it before landing.
Hajime Morrita
Comment 15
2012-03-06 17:04:45 PST
Created
attachment 130479
[details]
Patch for landing
WebKit Review Bot
Comment 16
2012-03-06 21:29:57 PST
Comment on
attachment 130479
[details]
Patch for landing Clearing flags on attachment: 130479 Committed
r110014
: <
http://trac.webkit.org/changeset/110014
>
WebKit Review Bot
Comment 17
2012-03-06 21:30:03 PST
All reviewed patches have been landed. Closing bug.
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