diff options
author | Michał Gołębiowski-Owczarek <m.goleb@gmail.com> | 2025-02-24 18:43:56 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-24 18:43:56 +0100 |
commit | eca2a56457e1c40c071aeb3ac87efeb8bbb8013e (patch) | |
tree | f77efcb7e31da94fb46175abb113ce452399c24c /test/localfile.html | |
parent | e2fe97b7f15cf5ee2e44566b381f7bf214e491b1 (diff) | |
download | jquery-eca2a56457e1c40c071aeb3ac87efeb8bbb8013e.tar.gz jquery-eca2a56457e1c40c071aeb3ac87efeb8bbb8013e.zip |
CSS: Fix dimensions of table `<col>` elements
Changes:
1. Fix measurements of `<col span="2">` elements in Firefox.
2. Fix measurements of all implicitly sized `<col>` elements in Safari.
Firefox always reports computed width as if `span` was 1. In Safari, computed
width for columns is always 0. Work around both issues by using `offsetWidth`.
In IE/Edge, `<col>` computed width is `"auto"` unless `width` is set explicitly
via CSS so measurements there remain incorrect. Because of the lack of a proper
workaround, we accept this limitation.
Fixes gh-5628
Closes gh-5630
Ref gh-5634
Diffstat (limited to 'test/localfile.html')
0 files changed, 0 insertions, 0 deletions