Open
Bug 1577361
Opened 5 years ago
Updated 2 years ago
Add css use counters for unimplemented properties used via CSSOM setters and inline style
Categories
(Core :: CSS Parsing and Computation, enhancement, P2)
Core
CSS Parsing and Computation
Tracking
()
NEW
People
(Reporter: boris, Assigned: boris)
References
(Blocks 1 open bug)
Details
Attachments
(3 files)
Per the discussion of Bug 1575062, it'd be great to record the css use counter for CSSOM and inline style.
Updated•5 years ago
|
Summary: Add css use counters for CSSOM setters and inline style → Add css use counters for unimplemented properties used via CSSOM setters and inline style
Assignee | ||
Updated•5 years ago
|
Assignee: nobody → boris.chiou
Assignee | ||
Comment 1•5 years ago
|
||
Working on this now, and have some patches. Basically, I'd like to record the CSS use counters for following things:
1) <div style="zoom: 1.0;"></div>
2) div.setAttribute("style", "zoom: 2.0;");
3) div.style.cssText = "zoom: 3.0;";
4) div.style.setProperty("zoom", "4.0");
5) div.style.zoom = "5.0";
(5) might be tricky because it seems we have to extend the IDL bindings. Still looking at this one actually.
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 2•5 years ago
|
||
This includes two cases:
- <div style="zoom: 1.0;"></div>
- div.setAttribute("style", "zoom: 1.0;");
Assignee | ||
Comment 3•5 years ago
|
||
This also support one another way to set the inline styles:
div.style.cssText = "zoom: 1.0;";
Assignee | ||
Comment 4•5 years ago
|
||
Assignee | ||
Comment 5•5 years ago
|
||
It seems the getter would be implemented by Bug 1576757, so perhaps it's worth to check the implementation of Bug 1576757 to avoid the duplicated work.
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•