Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[cssom] getComputedStyle for inline style and multiple globals #219

Closed
zcorpan opened this issue Jun 22, 2016 · 3 comments
Closed

[cssom] getComputedStyle for inline style and multiple globals #219

zcorpan opened this issue Jun 22, 2016 · 3 comments
Assignees

Comments

@zcorpan
Copy link
Member

zcorpan commented Jun 22, 2016

See
https://lists.w3.org/Archives/Public/www-style/2014Dec/0137.html
https://bugzilla.mozilla.org/show_bug.cgi?id=1109033
jquery/jquery#2622

Test
http://software.hixie.ch/utilities/js/live-dom-viewer/saved/4279
http://software.hixie.ch/utilities/js/live-dom-viewer/saved/4280

Apparently the inline style should be applied. (And getComputedStyle when called on an element from another global needs to consider style changes for that element, although how that works isn't really defined yet.)

@zcorpan
Copy link
Member Author

zcorpan commented Jun 30, 2016

Test case: multiple-globals.zip

@zcorpan
Copy link
Member Author

zcorpan commented Jun 30, 2016

@zcorpan zcorpan changed the title [cssom-view] getComputedStyle for inline style and multiple globals [cssom] getComputedStyle for inline style and multiple globals Oct 5, 2016
@zcorpan zcorpan added cssom-1 Current Work and removed cssom-view-1 labels Oct 5, 2016
@FremyCompany
Copy link
Contributor

FremyCompany commented Feb 6, 2018

Merging with #1548
(as far as I can see the behavior of all browsers was the same on these two saved doms)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants