WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED CONFIGURATION CHANGED
146844
Extra border space in table after a row has position: absolute
https://bugs.webkit.org/show_bug.cgi?id=146844
Summary
Extra border space in table after a row has position: absolute
akrawitz
Reported
2015-07-10 11:32:02 PDT
Created
attachment 256596
[details]
Example of the table before hand. In a table with 'border-collapse: separate', if a row has its style changed to include 'position: absolute', then extra border space is added to the table. This extra space then remains even if the row is switched back to the default 'position: static' or is removed from the table. In this fiddle (which uses pure JavaScript, no jQuery or jQuery UI), you can add and remove rows and toggle a row between it's default of 'position: static' and an applied 'position: absolute'. When you toggle the position, I also change the color to a transparent red, so you can see what is going on a bit better. Once a row has been toggled to 'position: absolute', extra border space appears in the table. The extra space sticks around, even if you then toggle the row back to 'position: static' or remove it:
http://jsfiddle.net/3hffrur9/2/
This problem is occuring in Safari 7.1.7. It has been reported to me that it is also occurring in Safari 8.0.7 and Safari 9.0. And I have also now observed it in the current nightly build of WebKit (601.1.39).
Attachments
Example of the table before hand.
(13.70 KB, image/png)
2015-07-10 11:32 PDT
,
akrawitz
no flags
Details
Table after toggling the second row to "position: absolute" and then back to the default "position: static"
(13.73 KB, image/png)
2015-07-10 11:33 PDT
,
akrawitz
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
akrawitz
Comment 1
2015-07-10 11:33:12 PDT
Created
attachment 256597
[details]
Table after toggling the second row to "position: absolute" and then back to the default "position: static"
Ahmad Saleem
Comment 2
2023-03-20 18:32:51 PDT
I am not able to reproduce this bug in Safari Technology Preview 165, where clicking on 2nd row toggle and back does not lead to increase border width between first and second row and matches with the reference image of “Example of the table before hand”. Thanks! This also does not reproduce in Safari 16.3, so it might be fixed long time back. Thanks!
akrawitz
Comment 3
2023-03-21 09:07:54 PDT
As you might imagine, I had long ago forgotten about ever posting this bug. In any case, I just tried this, and I agree that the problem no longer seems to exist. Presumably, it has been fixed sometime in the last 8 years. I've marked it RESOLVED FIXED - I'm not sure if WORKSFORME would be more appropriate, since I can't point to a specific fix - let me know. Thanks, Adam
Alexey Proskuryakov
Comment 4
2023-03-21 09:12:42 PDT
We use Configuration Changed for issues that went away without a known fix. Thank you for confirming!
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug