WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
149445
Add some style recalc tests for shadow DOM
https://bugs.webkit.org/show_bug.cgi?id=149445
Summary
Add some style recalc tests for shadow DOM
Ryosuke Niwa
Reported
2015-09-21 20:34:09 PDT
Add tests to make sure we trigger necessary style recalc.
Attachments
Adds tests
(13.06 KB, patch)
2015-09-21 20:36 PDT
,
Ryosuke Niwa
koivisto
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Ryosuke Niwa
Comment 1
2015-09-21 20:36:47 PDT
Created
attachment 261718
[details]
Adds tests
Antti Koivisto
Comment 2
2015-09-21 20:58:04 PDT
Comment on
attachment 261718
[details]
Adds tests View in context:
https://bugs.webkit.org/attachment.cgi?id=261718&action=review
> LayoutTests/fast/shadow-dom/shadow-layout-after-host-child-changes.html:42 > + else > + document.querySelector('p').getBoundingClientRect();
Not sure if this is reliable for forcing layout. We might optimize it away.
Ryosuke Niwa
Comment 3
2015-09-21 21:01:14 PDT
(In reply to
comment #2
)
> Comment on
attachment 261718
[details]
> Adds tests > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=261718&action=review
> > > LayoutTests/fast/shadow-dom/shadow-layout-after-host-child-changes.html:42 > > + else > > + document.querySelector('p').getBoundingClientRect(); > > Not sure if this is reliable for forcing layout. We might optimize it away.
Yeah, there isn't really a good way to force it within a browser.
Ryosuke Niwa
Comment 4
2015-09-21 21:01:45 PDT
Committed
r190101
: <
http://trac.webkit.org/changeset/190101
>
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