[Webkit-unassigned] [Bug 139750] Web Inspector: <body> shows unexpected UserAgent margin styles (one non-implicit, others implicit)
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Dec 17 15:19:46 PST 2014
https://bugs.webkit.org/show_bug.cgi?id=139750
--- Comment #2 from Joseph Pecoraro <joepeck at webkit.org> ---
Looks like an issue with the backend reply for CSS.getMatchedStylesForNode dealing with shorthanded entries. For "margin: 8px" it sends some of the long-hands as implicit.
frontend: {
"method": "CSS.getMatchedStylesForNode",
"params": {
"nodeId": 8,
"includePseudo": true,
"includeInherited": true
},
"id": 52
}
backend: {
"result": {
"matchedCSSRules": [{
"rule": {
"selectorList": {
"selectors": [{
"text": "body",
"specificity": [0, 0, 1]
}],
"text": "body"
},
"sourceLine": 0,
"origin": "user-agent",
"style": {
"cssProperties": [{
"name": "display",
"value": "block"
}, {
"name": "margin-top",
"value": "8px"
}, {
"name": "margin-right",
"value": "8px",
"implicit": true
}, {
"name": "margin-bottom",
"value": "8px",
"implicit": true
}, {
"name": "margin-left",
"value": "8px",
"implicit": true
}],
"shorthandEntries": [{
"name": "margin",
"value": "8px"
}],
"styleId": {
"styleSheetId": "4",
"ordinal": 2
},
"width": "",
"height": ""
}
},
"matchingSelectors": [0]
}],
...
},
"id": 52
}
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20141217/0b16c456/attachment-0002.html>
More information about the webkit-unassigned
mailing list