Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita612733

Browse files
committed
Tests: Skip a "width/height on a table row with phantom borders" test in Firefox
Firefox 70 & newer fail this test but the issue there is more profound - Firefoxdoesn't subtract borders from table row computed widths.Closesgh-4537Ref#4529Refhttps://bugzilla.mozilla.org/show_bug.cgi?id=1590837Refw3c/csswg-drafts#4444(cherry picked from commitc79e1d5)
1 parent323575f commita612733

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

‎test/unit/dimensions.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -627,7 +627,14 @@ QUnit.test( "width/height on an inline element with percentage dimensions (gh-36
627627
}
628628
);
629629

630-
QUnit.test("width/height on a table row with phantom borders (gh-3698)",function(assert){
630+
// Support: Firefox 70+
631+
// Firefox 70 & newer fail this test but the issue there is more profound - Firefox doesn't
632+
// subtract borders from table row computed widths.
633+
// See https://github.com/jquery/jquery/issues/4529
634+
// See https://bugzilla.mozilla.org/show_bug.cgi?id=1590837
635+
// See https://github.com/w3c/csswg-drafts/issues/4444
636+
QUnit[/firefox/i.test(navigator.userAgent) ?"skip" :"test"](
637+
"width/height on a table row with phantom borders (gh-3698)",function(assert){
631638
assert.expect(4);
632639

633640
jQuery("<table id='gh3698' style='border-collapse: separate; border-spacing: 0;'><tbody>"+

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp