WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
102912
[Shadow DOM] Implement Element::shadowRoot with prefix
https://bugs.webkit.org/show_bug.cgi?id=102912
Summary
[Shadow DOM] Implement Element::shadowRoot with prefix
Hajime Morrita
Reported
2012-11-21 02:49:06 PST
http://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html#extensions-to-element
Attachments
Patch
(5.20 KB, patch)
2012-12-05 22:20 PST
,
Hajime Morrita
no flags
Details
Formatted Diff
Diff
Patch
(6.85 KB, patch)
2012-12-06 18:41 PST
,
Hajime Morrita
no flags
Details
Formatted Diff
Diff
Patch
(25.08 KB, patch)
2012-12-06 20:58 PST
,
Hajime Morrita
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Hajime Morrita
Comment 1
2012-12-05 22:20:13 PST
Created
attachment 177937
[details]
Patch
Build Bot
Comment 2
2012-12-06 02:42:34 PST
Comment on
attachment 177937
[details]
Patch
Attachment 177937
[details]
did not pass mac-ews (mac): Output:
http://queues.webkit.org/results/15152784
New failing tests: fast/dom/HTMLMeterElement/meter-styles-changing-pseudo.html fast/dom/HTMLMeterElement/meter-writing-mode.html fast/dom/HTMLInputElement/input-slider-update.html fast/dom/HTMLMeterElement/meter-element-repaint-on-update-value.html http/tests/inspector/appcache/appcache-manifest-with-non-existing-file.html http/tests/inspector/console-resource-errors.html fast/forms/number/number-appearance-rtl.html fast/forms/number/number-appearance-spinbutton-disabled-readonly.html fast/forms/file/file-style-inheritance.html http/tests/cookies/single-quoted-value.html fast/forms/range/input-appearance-range.html fast/dom/HTMLProgressElement/progress-bar-value-pseudo-element.html fast/css/input-search-padding.html fast/forms/control-restrict-line-height.html fast/forms/file/input-file-re-render.html fast/forms/file/file-input-disabled.html fast/forms/range/range-drag.html fast/dom/HTMLProgressElement/progress-writing-mode.html fast/forms/file/file-input-direction.html accessibility/media-element.html fast/block/block-remove-child-delete-line-box-crash.html fast/forms/range/range-drag-when-toggled-disabled.html fast/forms/number/number-size.html fast/dom/HTMLProgressElement/indeterminate-progress-001.html fast/dom/HTMLInputElement/input-slider-update-styled.html fast/forms/number/number-appearance-spinbutton-layer.html fast/forms/number/number-large-padding.html fast/dom/HTMLMeterElement/meter-styles.html fast/forms/box-shadow-override.html
Dominic Cooney
Comment 3
2012-12-06 02:44:43 PST
Comment on
attachment 177937
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=177937&action=review
> Source/WebCore/dom/Element.cpp:1383 > + if (shadowRoot->type() != ShadowRoot::AuthorShadowRoot)
Is it worth writing a method with a name that reflects the intent? This condition is shared with olderShadowRoot.
Hajime Morrita
Comment 4
2012-12-06 17:42:44 PST
(In reply to
comment #3
)
> > > Source/WebCore/dom/Element.cpp:1383 > > + if (shadowRoot->type() != ShadowRoot::AuthorShadowRoot) > > Is it worth writing a method with a name that reflects the intent? This condition is shared with olderShadowRoot.
Right. isAccessible() ?
Hajime Morrita
Comment 5
2012-12-06 18:41:03 PST
Created
attachment 178131
[details]
Patch
Dimitri Glazkov (Google)
Comment 6
2012-12-06 20:04:27 PST
Wrong patch? :)
Hajime Morrita
Comment 7
2012-12-06 20:23:04 PST
Comment on
attachment 178131
[details]
Patch ;-(
Hajime Morrita
Comment 8
2012-12-06 20:58:33 PST
Created
attachment 178151
[details]
Patch
Hajime Morrita
Comment 9
2012-12-06 20:59:28 PST
Fixed broken tests. The patch becomes bigger but most of the diff is about a renaming.
Dimitri Glazkov (Google)
Comment 10
2012-12-06 21:06:40 PST
Comment on
attachment 178151
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=178151&action=review
> Source/WebCore/dom/Node.cpp:1381 > while (root) {
Whoa -- why is this not a treeScope lookup?
Hajime Morrita
Comment 11
2012-12-06 22:43:46 PST
Comment on
attachment 178151
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=178151&action=review
>> Source/WebCore/dom/Node.cpp:1381 >> while (root) { > > Whoa -- why is this not a treeScope lookup?
Dunno but good catch. IIRC this is a result of a series of refactoring. Filed
Bug 104342
for using treeScope().
WebKit Review Bot
Comment 12
2012-12-06 23:21:15 PST
Comment on
attachment 178151
[details]
Patch Clearing flags on attachment: 178151 Committed
r136924
: <
http://trac.webkit.org/changeset/136924
>
WebKit Review Bot
Comment 13
2012-12-06 23:21:19 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