From 45b95898e05c4ff152f41642f31d5ccbf6e2fd6c Mon Sep 17 00:00:00 2001 From: Ryan VanderMeulen Date: Fri, 29 May 2015 12:48:22 -0400 Subject: [PATCH] Backed out changeset 541cd29ea626 (bug 1166728) because the updated patch wasn't posted to the bug. --- .../content/aboutPrivateBrowsing.css | 2 +- browser/themes/linux/searchbar.css | 2 +- browser/themes/osx/searchbar.css | 2 +- browser/themes/shared/aboutNetError.css | 2 +- browser/themes/windows/searchbar.css | 2 +- dom/base/test/test_bug320799.html | 2 +- layout/base/nsLayoutUtils.cpp | 28 +++++++++-- layout/forms/test/test_textarea_resize.html | 2 +- layout/generic/nsFrame.cpp | 8 ++- layout/generic/nsHTMLReflowState.cpp | 26 +++++++--- .../box-properties/box-sizing-1-ref.html | 12 +++++ .../reftests/box-properties/box-sizing-1.html | 13 +++++ .../box-properties/box-sizing-2-ref.html | 11 +++++ .../reftests/box-properties/box-sizing-2.html | 12 +++++ .../reftests/box-properties/box-sizing-3.html | 13 +++++ .../box-properties/box-sizing-4-ref.html | 12 +++++ .../reftests/box-properties/box-sizing-4.html | 13 +++++ .../box-sizing-mozbox-minmax-height-ref.html | 5 ++ .../box-sizing-mozbox-minmax-height.html | 10 ++++ .../computed-size-reporting-ref.html | 12 +++++ .../box-sizing/computed-size-reporting.html | 13 +++++ layout/reftests/box-sizing/intrinsic-1a.html | 2 +- layout/reftests/box-sizing/intrinsic-1b.html | 2 +- layout/reftests/box-sizing/intrinsic-1d.html | 2 +- layout/reftests/box-sizing/intrinsic-1e.html | 2 +- layout/reftests/box-sizing/intrinsic-1f.html | 2 +- .../ui3/box-sizing-padding-box-001-ref.xht | 40 +++++++++++++++ .../ui3/box-sizing-padding-box-001.xht | 43 ++++++++++++++++ .../ui3/box-sizing-padding-box-002-ref.xht | 42 ++++++++++++++++ .../ui3/box-sizing-padding-box-002.xht | 45 +++++++++++++++++ .../ui3/box-sizing-padding-box-003-ref.xht | 42 ++++++++++++++++ .../ui3/box-sizing-padding-box-003.xht | 49 +++++++++++++++++++ .../submitted/ui3/box-sizing-replaced-001.xht | 2 +- .../w3c-css/submitted/ui3/reftest.list | 3 ++ layout/style/nsCSSProps.cpp | 1 + layout/style/nsComputedDOMStyle.cpp | 9 +++- layout/style/nsStyleConsts.h | 3 +- layout/style/test/property_database.js | 8 +-- layout/tables/BasicTableLayoutStrategy.cpp | 20 ++++++-- layout/tables/FixedTableLayoutStrategy.cpp | 14 +++++- layout/tables/nsTableRowFrame.cpp | 12 ++++- layout/xul/nsResizerFrame.cpp | 9 +++- .../shared/in-content/info-pages.inc.css | 2 +- 43 files changed, 514 insertions(+), 42 deletions(-) create mode 100644 layout/reftests/w3c-css/submitted/ui3/box-sizing-padding-box-001-ref.xht create mode 100644 layout/reftests/w3c-css/submitted/ui3/box-sizing-padding-box-001.xht create mode 100644 layout/reftests/w3c-css/submitted/ui3/box-sizing-padding-box-002-ref.xht create mode 100644 layout/reftests/w3c-css/submitted/ui3/box-sizing-padding-box-002.xht create mode 100644 layout/reftests/w3c-css/submitted/ui3/box-sizing-padding-box-003-ref.xht create mode 100644 layout/reftests/w3c-css/submitted/ui3/box-sizing-padding-box-003.xht diff --git a/browser/components/privatebrowsing/content/aboutPrivateBrowsing.css b/browser/components/privatebrowsing/content/aboutPrivateBrowsing.css index 6283c2781beb..ca0ab3f035d3 100644 --- a/browser/components/privatebrowsing/content/aboutPrivateBrowsing.css +++ b/browser/components/privatebrowsing/content/aboutPrivateBrowsing.css @@ -8,7 +8,7 @@ body { display: flex; - box-sizing: border-box; + box-sizing: padding-box; min-height: 100vh; padding: 0 48px; align-items: center; diff --git a/browser/themes/linux/searchbar.css b/browser/themes/linux/searchbar.css index 4627bbad4ec1..f293c4253db3 100644 --- a/browser/themes/linux/searchbar.css +++ b/browser/themes/linux/searchbar.css @@ -168,7 +168,7 @@ searchbar[oneoffui] .search-go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon } .searchbar-engine-one-off-item:not(.last-row) { - box-sizing: content-box; + box-sizing: padding-box; border-bottom: 1px solid #ccc; } diff --git a/browser/themes/osx/searchbar.css b/browser/themes/osx/searchbar.css index f8fb109aea9a..b4075afc66d1 100644 --- a/browser/themes/osx/searchbar.css +++ b/browser/themes/osx/searchbar.css @@ -191,7 +191,7 @@ searchbar[oneoffui] .search-go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon } .searchbar-engine-one-off-item:not(.last-row) { - box-sizing: content-box; + box-sizing: padding-box; border-bottom: 1px solid #ccc; } diff --git a/browser/themes/shared/aboutNetError.css b/browser/themes/shared/aboutNetError.css index ebde91c660ff..3fce69f0e450 100644 --- a/browser/themes/shared/aboutNetError.css +++ b/browser/themes/shared/aboutNetError.css @@ -6,7 +6,7 @@ body { display: flex; - box-sizing: border-box; + box-sizing: padding-box; min-height: 100vh; padding: 0 48px; align-items: center; diff --git a/browser/themes/windows/searchbar.css b/browser/themes/windows/searchbar.css index 931457d8243d..c2dde6df2944 100644 --- a/browser/themes/windows/searchbar.css +++ b/browser/themes/windows/searchbar.css @@ -225,7 +225,7 @@ searchbar[oneoffui] .search-go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon } .searchbar-engine-one-off-item:not(.last-row) { - box-sizing: content-box; + box-sizing: padding-box; border-bottom: 1px solid #ccc; } diff --git a/dom/base/test/test_bug320799.html b/dom/base/test/test_bug320799.html index fd966dfb8606..c160283aba38 100644 --- a/dom/base/test/test_bug320799.html +++ b/dom/base/test/test_bug320799.html @@ -11,7 +11,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=320799 Mozilla Bug 320799

-