Bug 61489
| Summary: | EditingStyle needs a way to convert any length to pixel value | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ryosuke Niwa <rniwa> |
| Component: | CSS | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | eric, hyatt, simon.fraser |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Bug Depends on: | |||
| Bug Blocks: | 12319 | ||
Ryosuke Niwa
In getPropertiesNotIn, we need to be able to compare values ignoring units because the lengths in computed style are always in pixels whereas the user applied by a user / script could be in em, pt, etc...
It's particularly challenging here because we don't have access to RenderStyle.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |