Changes between Initial Version and Version 1 of Ticket #10786, comment 3
- Timestamp:
- Nov 14, 2011, 2:19:18 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #10786, comment 3
initial v1 1 It must be kept in mind that .css is for retrieving _computed_ values. Both webkit and firefox (and every browser) return 0 for the computed width of disconnected , as they should. An element that is not connected cannot have width. We provide fallbacks to uncomputed styles where they are available, but on a disconnected node with no inline styles, there are no uncomputed styles to fall back to, at least in webkit.1 It must be kept in mind that .css is for retrieving _computed_ values. Both webkit and firefox (and every browser) return 0 for the computed width of disconnected elements, as they should. An element that is not connected cannot have width. We provide fallbacks to uncomputed styles where they are available, but on a disconnected node with no inline styles, there are no uncomputed styles to fall back to, at least in webkit.