Bug 172112 - Can't read value of page-break-* from inline styles
Summary: Can't read value of page-break-* from inline styles
Status: RESOLVED DUPLICATE of bug 197656
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: Safari 10
Hardware: Unspecified macOS 10.12
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2017-05-15 04:56 PDT by Comandeer
Modified: 2021-09-11 01:33 PDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Comandeer 2017-05-15 04:56:33 PDT
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)
Comment 1 Radar WebKit Bug Importer 2017-05-19 22:29:35 PDT
<rdar://problem/32310294>
Comment 2 Joonghun Park 2021-09-11 01:33:45 PDT

*** This bug has been marked as a duplicate of bug 197656 ***