Bug 172112
| Summary: | Can't read value of page-break-* from inline styles | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Comandeer <vepomoc> |
| Component: | CSS | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | CC: | hyatt, jh718.park, m.lewandowski, simon.fraser, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari 10 | ||
| Hardware: | Unspecified | ||
| OS: | macOS 10.12 | ||
Comandeer
If element has inline styles including one of the page-break-* properties, these properties can't be read from element.style property – it always returns empty string. However trying to get these styles using getComputedStyle seems to be working correctly.
I've created a small demo that shows the issue: https://jsfiddle.net/coq2q582/2/
Safari version: 10.1 (12603.1.30.0.34)
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/32310294>
Joonghun Park
*** This bug has been marked as a duplicate of bug 197656 ***