aboutsummaryrefslogtreecommitdiffstats
path: root/src/event.js
diff options
context:
space:
mode:
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>2025-02-24 18:50:39 +0100
committerGitHub <noreply@github.com>2025-02-24 18:50:39 +0100
commit3f70fbc76241051e83642de8afc64e0ff381223c (patch)
treebbf3cb7614772a6facc01428dc3d1c73f7373eb6 /src/event.js
parent6b7d74a1ea9a0004baf720ffb84f53f261e78c58 (diff)
downloadjquery-3f70fbc76241051e83642de8afc64e0ff381223c.tar.gz
jquery-3f70fbc76241051e83642de8afc64e0ff381223c.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-5634 Ref gh-5630
Diffstat (limited to 'src/event.js')
0 files changed, 0 insertions, 0 deletions