зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1531609 part 1 - Rename overflow:-moz-hidden-unscrollable to overflow:clip. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D73716
This commit is contained in:
Родитель
21b713c1f1
Коммит
20235b390f
|
@ -10,7 +10,7 @@ body {
|
|||
padding: 0;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
overflow: -moz-hidden-unscrollable;
|
||||
overflow: clip;
|
||||
}
|
||||
|
||||
:root {
|
||||
|
@ -269,7 +269,7 @@ panelview[mainview] > .panel-header {
|
|||
* from the overflow menu, but we still don't want to render them outside of
|
||||
* the customization target. */
|
||||
toolbar[overflowable][customizing] > .customization-target {
|
||||
overflow: -moz-hidden-unscrollable;
|
||||
overflow: clip;
|
||||
}
|
||||
|
||||
toolbar:not([overflowing]) > .overflow-button,
|
||||
|
|
|
@ -59,7 +59,7 @@
|
|||
/* Bookmark toolbar */
|
||||
|
||||
#PersonalToolbar {
|
||||
overflow: -moz-hidden-unscrollable;
|
||||
overflow: clip;
|
||||
max-height: 4em;
|
||||
padding: 2px 6px;
|
||||
}
|
||||
|
|
|
@ -51,7 +51,7 @@
|
|||
#urlbar-input-container,
|
||||
#searchbar {
|
||||
border-radius: var(--toolbarbutton-border-radius);
|
||||
overflow: -moz-hidden-unscrollable;
|
||||
overflow: clip;
|
||||
}
|
||||
|
||||
#urlbar-input,
|
||||
|
|
|
@ -47,7 +47,7 @@
|
|||
|
||||
display: block;
|
||||
text-shadow: none;
|
||||
overflow: -moz-hidden-unscrollable;
|
||||
overflow: clip;
|
||||
margin-inline: @urlbarViewMarginInline@;
|
||||
width: calc(100% - 2 * @urlbarViewMarginInline@);
|
||||
|
||||
|
|
|
@ -949,10 +949,7 @@ function getRectFromFlexItemValues(item, container) {
|
|||
domRect.x -= paddingLeft + scrollX;
|
||||
domRect.y -= paddingTop + scrollY;
|
||||
|
||||
if (
|
||||
style.overflow === "visible" ||
|
||||
style.overflow === "-moz-hidden-unscrollable"
|
||||
) {
|
||||
if (style.overflow === "visible" || style.overflow === "clip") {
|
||||
domRect.x -= borderLeftWidth;
|
||||
domRect.y -= borderTopWidth;
|
||||
}
|
||||
|
|
|
@ -8462,6 +8462,7 @@ exports.CSS_PROPERTIES = {
|
|||
"values": [
|
||||
"-moz-hidden-unscrollable",
|
||||
"auto",
|
||||
"clip",
|
||||
"hidden",
|
||||
"inherit",
|
||||
"initial",
|
||||
|
@ -8495,6 +8496,7 @@ exports.CSS_PROPERTIES = {
|
|||
"values": [
|
||||
"-moz-hidden-unscrollable",
|
||||
"auto",
|
||||
"clip",
|
||||
"hidden",
|
||||
"inherit",
|
||||
"initial",
|
||||
|
@ -8513,6 +8515,7 @@ exports.CSS_PROPERTIES = {
|
|||
"values": [
|
||||
"-moz-hidden-unscrollable",
|
||||
"auto",
|
||||
"clip",
|
||||
"hidden",
|
||||
"inherit",
|
||||
"initial",
|
||||
|
@ -8547,6 +8550,7 @@ exports.CSS_PROPERTIES = {
|
|||
"values": [
|
||||
"-moz-hidden-unscrollable",
|
||||
"auto",
|
||||
"clip",
|
||||
"hidden",
|
||||
"inherit",
|
||||
"initial",
|
||||
|
@ -8565,6 +8569,7 @@ exports.CSS_PROPERTIES = {
|
|||
"values": [
|
||||
"-moz-hidden-unscrollable",
|
||||
"auto",
|
||||
"clip",
|
||||
"hidden",
|
||||
"inherit",
|
||||
"initial",
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<!DOCTYPE html>
|
||||
<html style="-moz-perspective: 1000px; -moz-transform: skewY(277deg); overflow: -moz-hidden-unscrollable;">
|
||||
<html style="-moz-perspective: 1000px; -moz-transform: skewY(277deg); overflow: clip;">
|
||||
<body style="-moz-transform: skewY(127deg);">
|
||||
<div style="height: 20px; background: lightgreen;"></div>
|
||||
</body>
|
||||
|
|
|
@ -12,6 +12,6 @@ function boom()
|
|||
</script>
|
||||
</head>
|
||||
<body onload="boom();">
|
||||
<canvas id="c" width="800" style="overflow: -moz-hidden-unscrollable; transform: skewY(30rad);"></canvas>
|
||||
<canvas id="c" width="800" style="overflow: clip; transform: skewY(30rad);"></canvas>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
||||
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
||||
<html style="transform: skewY(0.08turn); overflow: -moz-hidden-unscrollable; position: absolute;">
|
||||
<html style="transform: skewY(0.08turn); overflow: clip; position: absolute;">
|
||||
<body style="border-bottom: thick solid; transform: skewX(30grad);">
|
||||
<table style="visibility: collapse; display: list-item;"></table>
|
||||
</body>
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
<html class="reftest-paged">
|
||||
<body>
|
||||
<b onfocus="event.target.setAttribute('tabindex', Math.floor(Math.random()*5)-9)"display: inline-table;position: fixed;overflow: hidden;float: left;direction: ltr;page-break-before: right;page-break-after: always;page-break-inside: inherit; style="display: inline-table;position: fixed;overflow: hidden;float: left;direction: ltr;page-break-before: right;page-break-after: always;page-break-inside: inherit;"><sup rowspan="12"display: table-caption;position: static;overflow: -moz-hidden-unscrollable;float: auto;direction: ltr;page-break-before: avoid;page-break-after: right;page-break-inside: inherit; style="display: table-caption;position: static;overflow: -moz-hidden-unscrollable;float: auto;direction: ltr;page-break-before: avoid;page-break-after: right;page-break-inside: inherit;"><bdo onfocus="event.target.parentNode.removeChild(event.target)"display: table-footer-group;position: absolute;overflow: hidden;float: left;direction: ltr;page-break-before: right;page-break-after: right;page-break-inside: auto; style="display: table-footer-group;position: absolute;overflow: hidden;float: left;direction: ltr;page-break-before: right;page-break-after: right;page-break-inside: auto;"><dir tabindex="12"display: -moz-grid;position: static;overflow: auto;float: left;direction: ltr;page-break-before: avoid;page-break-after: inherit;page-break-inside: inherit; style="display: -moz-grid;position: static;overflow: auto;float: left;direction: ltr;page-break-before: avoid;page-break-after: inherit;page-break-inside: inherit;"><i rowspan="1"display: -moz-stack;position: fixed;overflow: visible;float: right;direction: rtl;page-break-before: right;page-break-after: always;page-break-inside: avoid; style="display: -moz-stack;position: fixed;overflow: visible;float: right;direction: rtl;page-break-before: right;page-break-after: always;page-break-inside: avoid;"><select colspan="1"display: block;position: absolute;overflow: hidden;float: right;direction: auto;page-break-before: auto;page-break-after: avoid;page-break-inside: auto; style="display: block;position: absolute;overflow: hidden;float: right;direction: auto;page-break-before: auto;page-break-after: avoid;page-break-inside: auto;"></abbr></var></u></base></em></button></optgroup></menu></body>
|
||||
<b onfocus="event.target.setAttribute('tabindex', Math.floor(Math.random()*5)-9)"display: inline-table;position: fixed;overflow: hidden;float: left;direction: ltr;page-break-before: right;page-break-after: always;page-break-inside: inherit; style="display: inline-table;position: fixed;overflow: hidden;float: left;direction: ltr;page-break-before: right;page-break-after: always;page-break-inside: inherit;"><sup rowspan="12"display: table-caption;position: static;overflow: clip;float: auto;direction: ltr;page-break-before: avoid;page-break-after: right;page-break-inside: inherit; style="display: table-caption;position: static;overflow: clip;float: auto;direction: ltr;page-break-before: avoid;page-break-after: right;page-break-inside: inherit;"><bdo onfocus="event.target.parentNode.removeChild(event.target)"display: table-footer-group;position: absolute;overflow: hidden;float: left;direction: ltr;page-break-before: right;page-break-after: right;page-break-inside: auto; style="display: table-footer-group;position: absolute;overflow: hidden;float: left;direction: ltr;page-break-before: right;page-break-after: right;page-break-inside: auto;"><dir tabindex="12"display: -moz-grid;position: static;overflow: auto;float: left;direction: ltr;page-break-before: avoid;page-break-after: inherit;page-break-inside: inherit; style="display: -moz-grid;position: static;overflow: auto;float: left;direction: ltr;page-break-before: avoid;page-break-after: inherit;page-break-inside: inherit;"><i rowspan="1"display: -moz-stack;position: fixed;overflow: visible;float: right;direction: rtl;page-break-before: right;page-break-after: always;page-break-inside: avoid; style="display: -moz-stack;position: fixed;overflow: visible;float: right;direction: rtl;page-break-before: right;page-break-after: always;page-break-inside: avoid;"><select colspan="1"display: block;position: absolute;overflow: hidden;float: right;direction: auto;page-break-before: auto;page-break-after: avoid;page-break-inside: auto; style="display: block;position: absolute;overflow: hidden;float: right;direction: auto;page-break-before: auto;page-break-after: avoid;page-break-inside: auto;"></abbr></var></u></base></em></button></optgroup></menu></body>
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
<!DOCTYPE html>
|
||||
<html style="clip-path: url("#404"); overflow: -moz-hidden-unscrollable;"><body style="height: 400px; outline: 171787972850px solid green;"></body></html>
|
||||
<html style="clip-path: url("#404"); overflow: clip;"><body style="height: 400px; outline: 171787972850px solid green;"></body></html>
|
||||
|
|
|
@ -2,4 +2,4 @@
|
|||
content: counter(c, none) "z";
|
||||
display: flex;
|
||||
</style>
|
||||
><body style="overflow-x: -moz-hidden-unscrollable; ">><div class=error>
|
||||
><body style="overflow-x: clip; ">><div class=error>
|
|
@ -6,7 +6,7 @@
|
|||
position: absolute;
|
||||
}
|
||||
#s1 {
|
||||
overflow: -moz-hidden-unscrollable;
|
||||
overflow: clip;
|
||||
}
|
||||
#s3 {
|
||||
position: relative;
|
||||
|
|
|
@ -18,7 +18,7 @@ o552.appendChild(o547);
|
|||
o547.appendChild(o515);
|
||||
o582=o569.createElement('dl');
|
||||
o588=document.createElement('input');
|
||||
o552.style.cssText = 'overflow: -moz-hidden-unscrollable; '
|
||||
o552.style.cssText = 'overflow: clip; '
|
||||
o552.style.position='absolute';
|
||||
o600=o515.offsetParent;
|
||||
o619=document.createElement('input');
|
||||
|
|
|
@ -1090,7 +1090,7 @@ static bool CheckOverflow(const ComputedStyle* aComputedStyle,
|
|||
return false;
|
||||
}
|
||||
|
||||
if (display->mOverflowX == StyleOverflow::MozHiddenUnscrollable) {
|
||||
if (display->mOverflowX == StyleOverflow::Clip) {
|
||||
*aStyles = ScrollStyles(StyleOverflow::Hidden, StyleOverflow::Hidden);
|
||||
} else {
|
||||
*aStyles = ScrollStyles(*display);
|
||||
|
|
|
@ -16,7 +16,7 @@ window.requestIdleCallback(() => {
|
|||
</script>
|
||||
<style>
|
||||
:last-of-type {
|
||||
overflow-y:-moz-hidden-unscrollable;
|
||||
overflow-y:clip;
|
||||
}
|
||||
</style>
|
||||
<body id='a'>
|
||||
|
|
|
@ -7,9 +7,9 @@ strike::before { content: "m m";}
|
|||
</head>
|
||||
<body>
|
||||
<div style="display: -moz-box;">
|
||||
<strike style="overflow: -moz-hidden-unscrollable; position: absolute;"></strike>
|
||||
<strike style="overflow: clip; position: absolute;"></strike>
|
||||
<fieldset style="position: relative;">
|
||||
<strike style="overflow: -moz-hidden-unscrollable; position: absolute;"><small style="position: relative;">
|
||||
<strike style="overflow: clip; position: absolute;"><small style="position: relative;">
|
||||
<span style="position: absolute;"></span>
|
||||
</small>
|
||||
</strike>
|
||||
|
|
|
@ -3,5 +3,5 @@
|
|||
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
||||
|
||||
</head><body onload="document.body.style.height = '2px';" style="float: right; height: 2px; column-width: 0pt;">
|
||||
<div style="overflow: -moz-hidden-unscrollable;">a b</div>
|
||||
</body></html>
|
||||
<div style="overflow: clip;">a b</div>
|
||||
</body></html>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
<div style="column-width: 60px;">
|
||||
a
|
||||
<div style="overflow: -moz-hidden-unscrollable; white-space: pre;" id="i">
|
||||
<div style="overflow: clip; white-space: pre;" id="i">
|
||||
b
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<html xmlns="http://www.w3.org/1999/xhtml" style="direction: rtl;">
|
||||
<body onload="document.getElementById('i').style.fontSize = '10em';">
|
||||
|
||||
<div style="column-width: 60px;"><div id="i" style="overflow: -moz-hidden-unscrollable; white-space: pre;">
|
||||
<div style="column-width: 60px;"><div id="i" style="overflow: clip; white-space: pre;">
|
||||
b
|
||||
</div></div>
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<html xmlns="http://www.w3.org/1999/xhtml" style="direction: rtl;">
|
||||
<body onload="document.getElementById('i').style.fontSize = '10em';">
|
||||
|
||||
<div style="column-width: 60px;"><div id="i" style="overflow: -moz-hidden-unscrollable; white-space: pre;">
|
||||
<div style="column-width: 60px;"><div id="i" style="overflow: clip; white-space: pre;">
|
||||
b</div></div>
|
||||
|
||||
</body>
|
||||
|
|
|
@ -16,7 +16,7 @@ function boom()
|
|||
|
||||
<body onload="boom();">
|
||||
|
||||
<div style="column-count: 1; position: fixed;"><div style="overflow: -moz-hidden-unscrollable; display: table-header-group; white-space: pre; position: absolute;">
|
||||
<div style="column-count: 1; position: fixed;"><div style="overflow: clip; display: table-header-group; white-space: pre; position: absolute;">
|
||||
<span id="ispan">
|
||||
</span></div></div>
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ document.body.offsetHeight;
|
|||
<body style="direction: rtl; column-count: 2;" onload="document.body.offsetHeight; setTimeout(replacestyles,0);">
|
||||
|
||||
<div id="a">
|
||||
<pre style="overflow: -moz-hidden-unscrollable;">
|
||||
<pre style="overflow: clip;">
|
||||
|
||||
|
||||
text
|
||||
|
|
|
@ -20,7 +20,7 @@ window.onload = initCF;
|
|||
></title>
|
||||
<link href=/tests/SimpleTest/test.css<b></b><frame>MS|;yTvb=DyYx=lZ5?NTu=.N@mwsqT!v:=zew_XR7O8YY1o%1=$Oqh=2%a|{M?e/q6]/0VH?s,l4wf!00M7BMNP+j*T?E:POnu? yKL8[Y_nlz+u%QSJB9<csaction>><bdi>w!7RF+P3o}#/~=5hL{2dypxHnV4|@}.jSm@IQ-Ia*i[^/cip/.PKGEX|`bu6+/2RG6}m_*iFTeK~5iI/Zvl.*~32e(_$L#f|1UEh~[Oc_Ej;5Ff:#-?/*W=SLD,kda-7.UmY 4jAoO:T)<footer background-size: calc(-191px 1%) calc(5575271854802146964px 0%); font: 56mm tahoma, arial, helvetica, sans-serif; border-bottom: 31711px solid ButtonShadow; volume: loud; -moz-outline-radius: 158px; font-style: oblique; font: 916265548 serif; transform: rotatex(171deg) rotatey(1174410630deg); margin-bottom: 65535in; background-image: linear-gradient(darkviolet, peru); -moz-window-shadow: none; "></footer></csaction><sup dir=rtl>nH,X4]U~3`GnLEY40Qs-#$K]HiX/TekdWA; Q.IGJJwTi%sB^TF^_MFf%3q; wo#]Jy[t8hywiU`ev+8no:+1!Vo?A1tbO{A$iee~-@3Xmt?jzISs1u]B!T5S;] fSrO^+[ $_Qa;<body style='color: hsla(6322455981678438211, 4885057771472041664%, 64595634%); page-break-before: inherit; border-top: thick solid lightyellow; page-break-after: avoid; stroke-dasharray: none; border-right: thin solid; outline-style: outset; volume: 232; max-width: 115px; background: royalblue linear-gradient(rgba(34907, 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 4705143634018575181, 134.650893313) 196%, rgba(98, 0, 21, 93) 5835518181644000612%); border-bottom-style: double; background-color: -moz-mac-secondaryhighlight; border-bottom-style: solid; content: "Before"; azimuth: center; '>
|
||||
</ul> style='text-align-last: left; -webkit-appearance: textfield; color: rgb(-905311699%, 114, 57742); padding: 21.8234098837em 9.99999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999em 9.51366390673em 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999em; border-color: rgba(202, 9223372036854775808, -127, 4.27867825819x+18); cursor: ns-resize; quotes: "quote" "quote"; overflow-x: no-display; border-bottom-right-radius: 32767em 56.2654742136em; box-shadow: 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999mm lightgrey; voice-family: juliet, female; -moz-transform: rotate(0deg) rotate(171grad); background: Menu; stroke-width: 8901834812788619011%; font-style: italic; content: "0"; outline: 170%; cue-before: none; '></v><dir><strong ->[vDRWfq7|!j5~J^5eQL.?J5VYFl{Vgied3%-fH^bH6?O 4mTi#]%o1xFl.O5hoZ3B;ZRx;1$T2,mgbh5dOeQ*m01547dC1/0V#Y.~WW$ragJ0n!EvBkg8Uegi+]ou1j/^QO*femQC2O!P!j,M5Vk@.-`g`$$+f+^ VP~G{1U</mi><noscript></noscript><rdf>Z[kyp(Mt0@4F~xj@v b=,K#nikG!cNac%qU(O/iUs62cwzV#,6jC[!1y5,PBNr@,Gh~Yn43l1B}p1KEh$m|bn}saNpLjZaspCwM4}XA?CWl)%V]lmIORhh y}o(CHz*vog3iSJ#On-w65NZ=}?5lh/x;xgps-#FD6l,MuASFyd$r.}x6;:v0iM4-S`El`hX%x</rdf><sub></sub><textarea>Fi~{@7J{EVzWdri*Uy+C2nP=gmz.Y;Wvp*:F]]VIVMqdJM=oU,.`Veo:L_x~1u`*f2(!*SGS*!Tsm+VYIeWA^CD10rrxyeMbNhM:SL-}Zf*A4Lf= 81Ka{/gieIN3Ru?#*Sl@~tYe]D.~pEm=s.=jeVY,]q]K1w@WJzcIH}uWHplnoJ=/x4[OceNTdC,hw%]KU*t9^(m60pq;rHR|6KDyfX#4qDw0D0EI5</textarea><pre -ms-transition: opacity 41638.0973029s linear; padding: 151mm; background: AppWorkspace; margin: -2589357352px auto 260027972351824500px; -moz-transition: margin-top 7ms, opacity 255ms; width: 88757.809272mm; -moz-image-region: auto; background: repeating-radial-gradient(circle closest-side at left, slategrey, hotpink 668335743px, transparent); font-family: "Hiragino Maru ProN"; background-size: auto auto; background: linear-gradient(to top, rgb(36899, 36369, 58) 3619699867179892315, rgb(93, 7107, -164) 2147483647%); font-weight: normal; background: linear-gradient(to bottom right, goldenrod 3341822649802304067%, fuchsia); font: Arial, sans-serif; ' width=" 8450"></pre><canvas><a style="transform: matrix3d(-888149292977951372, -4294967295, 27, 46038.5436074, 41, 0, 3120975808, -8411753657436384653, -3691848127, 65535, 105, 108, -8074044328726059853, 186, 3139816390, 6364158256925537388); left: calc(22px); font: bold italic large Palatino, serif; text-indent: calc(9223372036854775808em 30%); margin: auto; padding-bottom: 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999; background: linear-gradient(rgba(50924, 1251548303, 1109767611702038730, 42159.1644524), rgba(55, 2591341078, 10, 143) 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999%, rgba(43, 246, 149, 1.28599451055x+18) 58741%, rgba(-69, 8229554636392401175, 33463, 67.9323179507)); border-top: -67.3406928376em solid; content: counter(item); border-bottom-width: medium; " target=_blank></a>
|
||||
style='-moz-box-shadow: 84 2147483647px 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999px rgba(-2858581034, 110, 2460321770, 164.188187767), inset 18 255px -2461791714 rgba(65, 2147483647, 118, 120365.670275); border-color: khaki rgb(9223372036854775808, 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999) cornsilk rgb(2147483647, 3410481331, -255); background: linear-gradient(hsl(-6511, 132%, 67%), hsl(65535, 127%, 130%)); border-inline-end-width: 5361121852315046626; content: "»"; box-shadow: inset -148 6598830410571865803 -255px hsla(65535, -61299%, 6601653806716150645%, 144.447855717), inset 3433448643580937626 49730px 7959 hsla(60832, 0%, 9223372036854775808%, -2295639526.68); transform: translate3d(9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999px, 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999px, 3517992122926112751px) scale3d(2207911578123682453, 160, 124); -moz-transform-origin: 3291520372 779122680 2147483647; -moz-appearance: menuseparator; border-radius: 2549593779.31px 2.00538639825x+18px 65px 28px; transform: translate(127px, 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999px) translate(9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999px, -176px); margin-left: 210.617676718em; border-inline-start: dotted lightgreen 37018px; word-spacing: 2174513215933018269ch; border-left: solid; columns: 64383 auto -3982463664em; -moz-transform: scale(9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999); stroke-width: 3.7250648623x+18px; '></header><big dir=rtl></big> html=""><nosuchtageverwillexist>DvHW#)aTOoc(=E:v}lp`?)_zpj%f#fy$q~~w1,;%.rsdVNR9=AW8h#y**wpXSlY}R/L|vnxW7?EC`lK,4GcMz[9}{V#d+@d (`JUMD2gD:N1ci7Q#i_hR-p.,dM|s/D-bzFn@8g[.qr;+Kh!]tI3B?2xM;E,oW`GHsjqV>b(vf_HY9If%6.t7z2@ql6|L@SrsUoaG^AX{46e5^;p;8Pphf5f3_],qD)X!kizvdkcp8YtJZe!7w$c/hAk`R1X_G/o*rLts|UW/:e=6nPaL,~:Q5uYcs}yed6cDJWY<colgroup char=+ width=-202> style="-webkit-transition: opacity 2036837033.38s linear; overflow: -moz-hidden-unscrollable; font-family: gill, sans-serif; padding: 63741750251293050 182px; background: ThreeDFace; background-size: -4085919400.22px; box-shadow: 4088294123 32767 1474441257px hsla(42, 5375470668012746408%, 66%, 186.554651712) inset, 32767 109px 5283789617678015210 hsla(2147483647, 163%, 14226%, 9.99999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999); border-width: 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999px -170px 3284222322px 5.14851574865x+17px; box-shadow: inset 113 -0 -4px hsla(9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 35273%, 2245175778%, 47085.004822), inset 9223372036854775808 76px 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 hsla(2375057167019052381, 4294967295%, 127%, 5.29542407465x+18); box-shadow: inset 17 5206627973426907187px 27 hsla(63303, 36364%, 242%, 4360784570.91), inset 18428 0px 138 hsla(-357953447, 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999%, 8058132474996186951%, 100.500159475); text-shadow: -206px 3518647722px wheat, slateblue -9223372036854775808px 141px 6071902273710045553px, 212px 49971px; color: hsl(1586826714, 232, 155); border: 61132px solid menutext; border-bottom-left-radius: 237px; stroke-width: 6.74219888253x+18; -o-flow-into: flowB; "><legend>>>>>>></wbr>>> id=content lang=ja style="display: none">
|
||||
style='-moz-box-shadow: 84 2147483647px 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999px rgba(-2858581034, 110, 2460321770, 164.188187767), inset 18 255px -2461791714 rgba(65, 2147483647, 118, 120365.670275); border-color: khaki rgb(9223372036854775808, 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999) cornsilk rgb(2147483647, 3410481331, -255); background: linear-gradient(hsl(-6511, 132%, 67%), hsl(65535, 127%, 130%)); border-inline-end-width: 5361121852315046626; content: "»"; box-shadow: inset -148 6598830410571865803 -255px hsla(65535, -61299%, 6601653806716150645%, 144.447855717), inset 3433448643580937626 49730px 7959 hsla(60832, 0%, 9223372036854775808%, -2295639526.68); transform: translate3d(9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999px, 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999px, 3517992122926112751px) scale3d(2207911578123682453, 160, 124); -moz-transform-origin: 3291520372 779122680 2147483647; -moz-appearance: menuseparator; border-radius: 2549593779.31px 2.00538639825x+18px 65px 28px; transform: translate(127px, 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999px) translate(9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999px, -176px); margin-left: 210.617676718em; border-inline-start: dotted lightgreen 37018px; word-spacing: 2174513215933018269ch; border-left: solid; columns: 64383 auto -3982463664em; -moz-transform: scale(9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999); stroke-width: 3.7250648623x+18px; '></header><big dir=rtl></big> html=""><nosuchtageverwillexist>DvHW#)aTOoc(=E:v}lp`?)_zpj%f#fy$q~~w1,;%.rsdVNR9=AW8h#y**wpXSlY}R/L|vnxW7?EC`lK,4GcMz[9}{V#d+@d (`JUMD2gD:N1ci7Q#i_hR-p.,dM|s/D-bzFn@8g[.qr;+Kh!]tI3B?2xM;E,oW`GHsjqV>b(vf_HY9If%6.t7z2@ql6|L@SrsUoaG^AX{46e5^;p;8Pphf5f3_],qD)X!kizvdkcp8YtJZe!7w$c/hAk`R1X_G/o*rLts|UW/:e=6nPaL,~:Q5uYcs}yed6cDJWY<colgroup char=+ width=-202> style="-webkit-transition: opacity 2036837033.38s linear; overflow: clip; font-family: gill, sans-serif; padding: 63741750251293050 182px; background: ThreeDFace; background-size: -4085919400.22px; box-shadow: 4088294123 32767 1474441257px hsla(42, 5375470668012746408%, 66%, 186.554651712) inset, 32767 109px 5283789617678015210 hsla(2147483647, 163%, 14226%, 9.99999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999); border-width: 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999px -170px 3284222322px 5.14851574865x+17px; box-shadow: inset 113 -0 -4px hsla(9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 35273%, 2245175778%, 47085.004822), inset 9223372036854775808 76px 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 hsla(2375057167019052381, 4294967295%, 127%, 5.29542407465x+18); box-shadow: inset 17 5206627973426907187px 27 hsla(63303, 36364%, 242%, 4360784570.91), inset 18428 0px 138 hsla(-357953447, 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999%, 8058132474996186951%, 100.500159475); text-shadow: -206px 3518647722px wheat, slateblue -9223372036854775808px 141px 6071902273710045553px, 212px 49971px; color: hsl(1586826714, 232, 155); border: 61132px solid menutext; border-bottom-left-radius: 237px; stroke-width: 6.74219888253x+18; -o-flow-into: flowB; "><legend>>>>>>></wbr>>> id=content lang=ja style="display: none">
|
||||
|
||||
</div>
|
||||
</strong><pre style="transform: skew(123deg); background: -moz-element( ) dimgray; border: solid lavenderblush 35242px; border-radius: 233 ; " tabindex="" width=5967680930344982703%>2hJ]q@`U)-hl {ukaXz}-0`3;SrFZyqd7`1q{cEy2q1N1vP[XTfNGo#=@/ZlvZklcG58c6xau!G}6Lxc#W@RBhKV4];9G`RX 2x.~.u9S^ wThGK vo8#Z<script class=testbody type=text/javascript>
|
||||
|
|
|
@ -912,10 +912,9 @@ void nsHTMLScrollFrame::PlaceScrollArea(ScrollReflowInput& aState,
|
|||
// Store the new overflow area. Note that this changes where an outline
|
||||
// of the scrolled frame would be painted, but scrolled frames can't have
|
||||
// outlines (the outline would go on this scrollframe instead).
|
||||
// Using FinishAndStoreOverflow is needed so the overflow rect
|
||||
// gets set correctly. It also messes with the overflow rect in the
|
||||
// -moz-hidden-unscrollable case, but scrolled frames can't have
|
||||
// 'overflow' either.
|
||||
// Using FinishAndStoreOverflow is needed so the overflow rect gets set
|
||||
// correctly. It also messes with the overflow rect in the 'clip' case, but
|
||||
// scrolled frames can't have 'overflow' either.
|
||||
// This needs to happen before SyncFrameViewAfterReflow so
|
||||
// HasOverflowRect() will return the correct value.
|
||||
nsOverflowAreas overflow(scrolledArea, scrolledArea);
|
||||
|
|
|
@ -2659,11 +2659,10 @@ Maybe<nsRect> nsIFrame::GetClipPropClipRect(const nsStyleDisplay* aDisp,
|
|||
static void ApplyOverflowClipping(
|
||||
nsDisplayListBuilder* aBuilder, const nsIFrame* aFrame,
|
||||
DisplayListClipState::AutoClipMultiple& aClipState) {
|
||||
// Only -moz-hidden-unscrollable is handled here (and 'hidden' for table
|
||||
// frames, and any non-visible value for blocks in a paginated context).
|
||||
// We allow -moz-hidden-unscrollable to apply to any kind of frame. This
|
||||
// is required by comboboxes which make their display text (an inline frame)
|
||||
// have clipping.
|
||||
// Only 'clip' is handled here (and 'hidden' for table frames, and any
|
||||
// non-'visible' value for blocks in a paginated context).
|
||||
// We allow 'clip' to apply to any kind of frame. This is required by
|
||||
// comboboxes which make their display text (an inline frame) have clipping.
|
||||
MOZ_ASSERT(aFrame->ShouldApplyOverflowClipping(aFrame->StyleDisplay()));
|
||||
|
||||
nsRect clipRect;
|
||||
|
@ -4169,7 +4168,7 @@ void nsIFrame::BuildDisplayListForChild(nsDisplayListBuilder* aBuilder,
|
|||
clipState.SetClipChainForContainingBlockDescendants(nullptr);
|
||||
}
|
||||
|
||||
// Setup clipping for the parent's overflow:-moz-hidden-unscrollable,
|
||||
// Setup clipping for the parent's overflow:clip,
|
||||
// or overflow:hidden on elements that don't support scrolling (and therefore
|
||||
// don't create nsHTML/XULScrollFrame). This clipping needs to not clip
|
||||
// anything directly rendered by the parent, only the rendering of its
|
||||
|
@ -9276,8 +9275,8 @@ bool nsIFrame::FinishAndStoreOverflow(nsOverflowAreas& aOverflowAreas,
|
|||
// children are actually clipped to the padding-box, but since the
|
||||
// overflow area should include the entire border-box, just set it to
|
||||
// the border-box here.
|
||||
NS_ASSERTION((disp->mOverflowY == StyleOverflow::MozHiddenUnscrollable) ==
|
||||
(disp->mOverflowX == StyleOverflow::MozHiddenUnscrollable),
|
||||
NS_ASSERTION((disp->mOverflowY == StyleOverflow::Clip) ==
|
||||
(disp->mOverflowX == StyleOverflow::Clip),
|
||||
"If one overflow is clip, the other should be too");
|
||||
if (applyOverflowClipping) {
|
||||
// The contents are actually clipped to the padding area
|
||||
|
@ -9298,7 +9297,7 @@ bool nsIFrame::FinishAndStoreOverflow(nsOverflowAreas& aOverflowAreas,
|
|||
}
|
||||
}
|
||||
|
||||
// Note that StyleOverflow::MozHiddenUnscrollable doesn't clip the frame
|
||||
// Note that StyleOverflow::Clip doesn't clip the frame
|
||||
// background, so we add theme background overflow here so it's not clipped.
|
||||
if (!::IsXULBoxWrapped(this) && IsThemed(disp)) {
|
||||
nsRect r(bounds);
|
||||
|
@ -11024,17 +11023,17 @@ void nsIFrame::UpdateVisibleDescendantsState() {
|
|||
bool nsIFrame::ShouldApplyOverflowClipping(const nsStyleDisplay* aDisp) const {
|
||||
MOZ_ASSERT(aDisp == StyleDisplay(), "Wrong display struct");
|
||||
|
||||
// contain: paint, which we interpret as -moz-hidden-unscrollable
|
||||
// Exception: for scrollframes, we don't need contain:paint to add any
|
||||
// clipping, because the scrollable frame will already clip overflowing
|
||||
// content, and because contain:paint should prevent all means of escaping
|
||||
// that clipping (e.g. because it forms a fixed-pos containing block).
|
||||
// 'contain:paint', which we handle as 'overflow:clip' here. Except for
|
||||
// scrollframes we don't need contain:paint to add any clipping, because
|
||||
// the scrollable frame will already clip overflowing content, and because
|
||||
// 'contain:paint' should prevent all means of escaping that clipping
|
||||
// (e.g. because it forms a fixed-pos containing block).
|
||||
if (aDisp->IsContainPaint() && !IsScrollFrame() &&
|
||||
IsFrameOfType(eSupportsContainLayoutAndPaint)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
// and overflow:hidden that we should interpret as -moz-hidden-unscrollable
|
||||
// and overflow:hidden that we should interpret as clip
|
||||
if (aDisp->mOverflowX == StyleOverflow::Hidden &&
|
||||
aDisp->mOverflowY == StyleOverflow::Hidden) {
|
||||
// REVIEW: these are the frame types that set up clipping.
|
||||
|
@ -11056,9 +11055,9 @@ bool nsIFrame::ShouldApplyOverflowClipping(const nsStyleDisplay* aDisp) const {
|
|||
}
|
||||
}
|
||||
|
||||
// clip overflow:-moz-hidden-unscrollable, except for nsListControlFrame,
|
||||
// clip overflow:clip, except for nsListControlFrame,
|
||||
// which is an nsHTMLScrollFrame.
|
||||
if (MOZ_UNLIKELY(aDisp->mOverflowX == StyleOverflow::MozHiddenUnscrollable &&
|
||||
if (MOZ_UNLIKELY(aDisp->mOverflowX == StyleOverflow::Clip &&
|
||||
!IsListControlFrame())) {
|
||||
const auto* element = Element::FromNodeOrNull(GetContent());
|
||||
if (!element ||
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
button,p,select,span,table,object {
|
||||
width: 14px;
|
||||
text-indent: 20px;
|
||||
overflow: -moz-hidden-unscrollable;
|
||||
overflow: clip;
|
||||
padding-left:6px;
|
||||
padding-right:17px;
|
||||
outline: 1px solid blue;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<!DOCTYPE html>
|
||||
<html class="reftest-paged" style="margin: 0; padding: 0;">
|
||||
<body style="margin: 0; padding: 0;">
|
||||
<div style="overflow: -moz-hidden-unscrollable; height: 5in;">
|
||||
<div style="overflow: clip; height: 5in;">
|
||||
<div style="height: 1.25in; border: 0.25in solid green"></div>
|
||||
<div style="height: 1.25in; border: 0.25in solid green"></div>
|
||||
<div style="height: 1.25in; border: 0.25in solid green"></div>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<!DOCTYPE html>
|
||||
<html class="reftest-paged" style="margin: 0; padding: 0; overflow: hidden">
|
||||
<body style="margin: 0; padding: 0; overflow: -moz-hidden-unscrollable; height: 5in;">
|
||||
<body style="margin: 0; padding: 0; overflow: clip; height: 5in;">
|
||||
<div>
|
||||
<div style="height: 1.25in; border: 0.25in solid green"></div>
|
||||
<div style="height: 1.25in; border: 0.25in solid green"></div>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<!DOCTYPE html>
|
||||
<html class="reftest-paged" style="margin: 0; padding: 0;">
|
||||
<body style="margin: 0; padding: 0; overflow: -moz-hidden-unscrollable; height: 5in;">
|
||||
<body style="margin: 0; padding: 0; overflow: clip; height: 5in;">
|
||||
<div>
|
||||
<div style="height: 1.25in; border: 0.25in solid green"></div>
|
||||
<div style="height: 1.25in; border: 0.25in solid green"></div>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<!DOCTYPE html>
|
||||
<html class="reftest-paged">
|
||||
<body>
|
||||
<div style="overflow: -moz-hidden-unscrollable; height: 3in;">
|
||||
<div style="overflow: clip; height: 3in;">
|
||||
<div style="height: 10in;"></div>
|
||||
</div>
|
||||
Some text
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<!DOCTYPE html>
|
||||
<html class="reftest-paged">
|
||||
<body>
|
||||
<div style="overflow: -moz-hidden-unscrollable; height: 3in;
|
||||
<div style="overflow: clip; height: 3in;
|
||||
padding-bottom: 0.5in; margin-bottom: 5in">
|
||||
<div style="height: 10in;"></div>
|
||||
</div>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<!DOCTYPE html>
|
||||
<html class="reftest-paged">
|
||||
<body>
|
||||
<div style="overflow: -moz-hidden-unscrollable; height: 1in;
|
||||
<div style="overflow: clip; height: 1in;
|
||||
padding-bottom: 1in; border-bottom: 1in solid transparent">
|
||||
<div style="height: 10in;"></div>
|
||||
</div>
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="outer">
|
||||
<div class="inner" style="overflow-x:-moz-hidden-unscrollable;">
|
||||
<div class="inner" style="overflow-x:clip;">
|
||||
<img width="400px" height="10px" src="data:image/gif;base64,R0lGODlhAQABAIABAAD/AP///ywAAAAAAQABAAACAkQBADs=">
|
||||
</div>
|
||||
</div>
|
||||
|
@ -47,7 +47,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="outer">
|
||||
<div class="inner" style="overflow:-moz-hidden-unscrollable;">
|
||||
<div class="inner" style="overflow:clip;">
|
||||
<img width="400px" height="10px" src="data:image/gif;base64,R0lGODlhAQABAIABAAD/AP///ywAAAAAAQABAAACAkQBADs=">
|
||||
</div>
|
||||
</div>
|
||||
|
@ -62,7 +62,7 @@
|
|||
<img width="400px" height="10px" src="data:image/gif;base64,R0lGODlhAQABAIABAAD/AP///ywAAAAAAQABAAACAkQBADs=">
|
||||
</div>
|
||||
</div>
|
||||
<div class="outer" style="overflow-x:-moz-hidden-unscrollable;">
|
||||
<div class="outer" style="overflow-x:clip;">
|
||||
<div class="inner">
|
||||
<img width="400px" height="10px" src="data:image/gif;base64,R0lGODlhAQABAIABAAD/AP///ywAAAAAAQABAAACAkQBADs=">
|
||||
</div>
|
||||
|
@ -77,7 +77,7 @@
|
|||
<img width="400px" height="10px" src="data:image/gif;base64,R0lGODlhAQABAIABAAD/AP///ywAAAAAAQABAAACAkQBADs=">
|
||||
</div>
|
||||
</div>
|
||||
<div class="outer" style="overflow:-moz-hidden-unscrollable;">
|
||||
<div class="outer" style="overflow:clip;">
|
||||
<div class="inner">
|
||||
<img width="400px" height="10px" src="data:image/gif;base64,R0lGODlhAQABAIABAAD/AP///ywAAAAAAQABAAACAkQBADs=">
|
||||
</div>
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="outer">
|
||||
<div class="inner" style="overflow-y:-moz-hidden-unscrollable;">
|
||||
<div class="inner" style="overflow-y:clip;">
|
||||
<img width="400px" height="10px" src="data:image/gif;base64,R0lGODlhAQABAIABAAD/AP///ywAAAAAAQABAAACAkQBADs=">
|
||||
</div>
|
||||
</div>
|
||||
|
@ -47,7 +47,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="outer">
|
||||
<div class="inner" style="overflow:-moz-hidden-unscrollable;">
|
||||
<div class="inner" style="overflow:clip;">
|
||||
<img width="400px" height="10px" src="data:image/gif;base64,R0lGODlhAQABAIABAAD/AP///ywAAAAAAQABAAACAkQBADs=">
|
||||
</div>
|
||||
</div>
|
||||
|
@ -62,7 +62,7 @@
|
|||
<img width="400px" height="10px" src="data:image/gif;base64,R0lGODlhAQABAIABAAD/AP///ywAAAAAAQABAAACAkQBADs=">
|
||||
</div>
|
||||
</div>
|
||||
<div class="outer" style="overflow-y:-moz-hidden-unscrollable;">
|
||||
<div class="outer" style="overflow-y:clip;">
|
||||
<div class="inner">
|
||||
<img width="400px" height="10px" src="data:image/gif;base64,R0lGODlhAQABAIABAAD/AP///ywAAAAAAQABAAACAkQBADs=">
|
||||
</div>
|
||||
|
@ -77,7 +77,7 @@
|
|||
<img width="400px" height="10px" src="data:image/gif;base64,R0lGODlhAQABAIABAAD/AP///ywAAAAAAQABAAACAkQBADs=">
|
||||
</div>
|
||||
</div>
|
||||
<div class="outer" style="overflow:-moz-hidden-unscrollable;">
|
||||
<div class="outer" style="overflow:clip;">
|
||||
<div class="inner">
|
||||
<img width="400px" height="10px" src="data:image/gif;base64,R0lGODlhAQABAIABAAD/AP///ywAAAAAAQABAAACAkQBADs=">
|
||||
</div>
|
||||
|
|
|
@ -2506,9 +2506,9 @@ nsChangeHint nsStyleDisplay::CalcDifference(
|
|||
hint |= nsChangeHint_ReflowHintsForScrollbarChange;
|
||||
}
|
||||
} else {
|
||||
// Otherwise this is a change between visible and
|
||||
// -moz-hidden-unscrollable. Here only whether we have a clip changes, so
|
||||
// just repaint and update our overflow areas in that case.
|
||||
// Otherwise this is a change between 'visible' and 'clip'.
|
||||
// Here only whether we have a 'clip' changes, so just repaint and
|
||||
// update our overflow areas in that case.
|
||||
hint |= nsChangeHint_UpdateOverflow | nsChangeHint_RepaintFrame;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1505,9 +1505,9 @@ struct MOZ_NEEDS_MEMMOVABLE_MEMBERS nsStyleDisplay {
|
|||
|
||||
bool IsScrollableOverflow() const {
|
||||
// mOverflowX and mOverflowY always match when one of them is
|
||||
// Visible or MozHiddenUnscrollable.
|
||||
// Visible or Clip.
|
||||
return mOverflowX != mozilla::StyleOverflow::Visible &&
|
||||
mOverflowX != mozilla::StyleOverflow::MozHiddenUnscrollable;
|
||||
mOverflowX != mozilla::StyleOverflow::Clip;
|
||||
}
|
||||
|
||||
bool IsContainPaint() const {
|
||||
|
|
|
@ -228,7 +228,7 @@ select {
|
|||
user-select: none;
|
||||
border-width: 2px;
|
||||
border-style: inset;
|
||||
overflow: -moz-hidden-unscrollable;
|
||||
overflow: clip;
|
||||
/* No text-decoration reaching inside, by default */
|
||||
display: inline-block;
|
||||
page-break-inside: avoid;
|
||||
|
@ -298,7 +298,7 @@ select > button[orientation="right"]:active {
|
|||
}
|
||||
|
||||
*|*::-moz-display-comboboxcontrol-frame {
|
||||
overflow: -moz-hidden-unscrollable;
|
||||
overflow: clip;
|
||||
/* This block-start/end padding plus the combobox block-start/end border need to
|
||||
add up to the block-start/end borderpadding of text inputs and buttons */
|
||||
padding-block: 1px;
|
||||
|
@ -920,7 +920,7 @@ input:is([type=number], [type=search])::-moz-complex-control-wrapper {
|
|||
block-size: 100%;
|
||||
/* The align-self: center bit below allows the editor to be potentially
|
||||
* bigger than us. Clip it to match other text fields. */
|
||||
overflow: -moz-hidden-unscrollable;
|
||||
overflow: clip;
|
||||
}
|
||||
|
||||
input:is([type=number], [type=search])::-moz-text-control-editing-root {
|
||||
|
|
|
@ -683,7 +683,7 @@ img[usemap], object[usemap] {
|
|||
|
||||
frameset {
|
||||
display: block ! important;
|
||||
overflow: -moz-hidden-unscrollable;
|
||||
overflow: clip;
|
||||
position: static ! important;
|
||||
float: none ! important;
|
||||
border: none ! important;
|
||||
|
|
|
@ -6954,14 +6954,16 @@ var gCSSProperties = {
|
|||
"scroll",
|
||||
"hidden",
|
||||
"-moz-hidden-unscrollable",
|
||||
"clip",
|
||||
"auto auto",
|
||||
"auto scroll",
|
||||
"hidden scroll",
|
||||
"auto hidden",
|
||||
"clip clip",
|
||||
"-moz-hidden-unscrollable -moz-hidden-unscrollable",
|
||||
],
|
||||
invalid_values: [
|
||||
"-moz-hidden-unscrollable -moz-scrollbars-none",
|
||||
"clip -moz-scrollbars-none",
|
||||
"-moz-scrollbars-none",
|
||||
"-moz-scrollbars-horizontal",
|
||||
"-moz-scrollbars-vertical",
|
||||
|
@ -6978,7 +6980,13 @@ var gCSSProperties = {
|
|||
contain: "none",
|
||||
},
|
||||
initial_values: ["visible"],
|
||||
other_values: ["auto", "scroll", "hidden", "-moz-hidden-unscrollable"],
|
||||
other_values: [
|
||||
"auto",
|
||||
"scroll",
|
||||
"hidden",
|
||||
"clip",
|
||||
"-moz-hidden-unscrollable",
|
||||
],
|
||||
invalid_values: [],
|
||||
},
|
||||
"overflow-y": {
|
||||
|
@ -6992,7 +7000,13 @@ var gCSSProperties = {
|
|||
contain: "none",
|
||||
},
|
||||
initial_values: ["visible"],
|
||||
other_values: ["auto", "scroll", "hidden", "-moz-hidden-unscrollable"],
|
||||
other_values: [
|
||||
"auto",
|
||||
"scroll",
|
||||
"hidden",
|
||||
"clip",
|
||||
"-moz-hidden-unscrollable",
|
||||
],
|
||||
invalid_values: [],
|
||||
},
|
||||
"overflow-inline": {
|
||||
|
|
|
@ -92,7 +92,7 @@ const gTestcases = [
|
|||
// * switching overflow between things that shouldn't create scrollframes.
|
||||
{
|
||||
beforeStyle: "overflow: visible",
|
||||
afterStyle: "overflow: -moz-hidden-unscrollable",
|
||||
afterStyle: "overflow: clip",
|
||||
},
|
||||
|
||||
// Things that *should* cause reflow:
|
||||
|
|
|
@ -258,10 +258,10 @@ nsresult nsIFrame::XULLayout(nsBoxLayoutState& aState) {
|
|||
bool nsIFrame::DoesClipChildren() {
|
||||
const nsStyleDisplay* display = StyleDisplay();
|
||||
NS_ASSERTION(
|
||||
(display->mOverflowY == StyleOverflow::MozHiddenUnscrollable) ==
|
||||
(display->mOverflowX == StyleOverflow::MozHiddenUnscrollable),
|
||||
"If one overflow is -moz-hidden-unscrollable, the other should be too");
|
||||
return display->mOverflowX == StyleOverflow::MozHiddenUnscrollable;
|
||||
(display->mOverflowY == StyleOverflow::Clip) ==
|
||||
(display->mOverflowX == StyleOverflow::Clip),
|
||||
"If one overflow is clip, the other should be too");
|
||||
return display->mOverflowX == StyleOverflow::Clip;
|
||||
}
|
||||
|
||||
nsresult nsIFrame::SyncXULLayout(nsBoxLayoutState& aBoxLayoutState) {
|
||||
|
|
|
@ -499,10 +499,10 @@ impl<'a, 'b: 'a> StyleAdjuster<'a, 'b> {
|
|||
{
|
||||
// overflow: clip is deprecated, so convert to hidden if it's
|
||||
// specified in only one dimension.
|
||||
if overflow_x == Overflow::MozHiddenUnscrollable {
|
||||
if overflow_x == Overflow::Clip {
|
||||
overflow_x = Overflow::Hidden;
|
||||
}
|
||||
if overflow_y == Overflow::MozHiddenUnscrollable {
|
||||
if overflow_y == Overflow::Clip {
|
||||
overflow_y = Overflow::Hidden;
|
||||
}
|
||||
}
|
||||
|
@ -560,7 +560,7 @@ impl<'a, 'b: 'a> StyleAdjuster<'a, 'b> {
|
|||
let overflow_y = box_style.clone_overflow_y();
|
||||
|
||||
fn scrollable(v: Overflow) -> bool {
|
||||
v != Overflow::MozHiddenUnscrollable && v != Overflow::Visible
|
||||
v != Overflow::Clip && v != Overflow::Visible
|
||||
}
|
||||
|
||||
// If at least one is scrollable we'll adjust the other one in
|
||||
|
|
|
@ -1992,5 +1992,25 @@ pub enum Overflow {
|
|||
Scroll,
|
||||
Auto,
|
||||
#[cfg(feature = "gecko")]
|
||||
MozHiddenUnscrollable,
|
||||
#[parse(aliases = "-moz-hidden-unscrollable")]
|
||||
Clip,
|
||||
}
|
||||
|
||||
impl Overflow {
|
||||
/// Return true if the value will create a scrollable box.
|
||||
#[inline]
|
||||
pub fn is_scrollable(&self) -> bool {
|
||||
matches!(*self, Self::Hidden | Self::Scroll | Self::Auto)
|
||||
}
|
||||
/// Convert the value to a scrollable value if it's not already scrollable.
|
||||
/// This maps `visible` to `auto` and `clip` to `hidden`.
|
||||
#[inline]
|
||||
pub fn to_scrollable(&self) -> Self {
|
||||
match *self {
|
||||
Self::Hidden | Self::Scroll | Self::Auto => *self,
|
||||
Self::Visible => Self::Auto,
|
||||
#[cfg(feature = "gecko")]
|
||||
Self::Clip => Self::Hidden,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
[dynamic-visible-to-clip-001.html]
|
||||
expected:
|
||||
if (os == "linux") and debug and not webrender and not fission: ["PASS", "FAIL"]
|
|
@ -10,7 +10,6 @@
|
|||
width: 100px;
|
||||
height: 100px;
|
||||
background: red;
|
||||
overflow: -moz-hidden-unscrollable;
|
||||
overflow: clip;
|
||||
}
|
||||
|
||||
|
|
|
@ -32,7 +32,6 @@ onload = function() {
|
|||
let target = document.getElementById("target");
|
||||
window.unused = target.getBoundingClientRect(); // Update layout
|
||||
requestAnimationFrame(() => requestAnimationFrame(() => {
|
||||
target.style.overflow = "-moz-hidden-unscrollable";
|
||||
target.style.overflow = "clip";
|
||||
document.documentElement.removeAttribute("class");
|
||||
}));
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
<link rel="match" href="overflow-body-propagation-007-ref.html">
|
||||
<style>
|
||||
body {
|
||||
overflow-x: -moz-hidden-unscrollable; /* will be removed in bug 1531609 */
|
||||
overflow-x: clip;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
<link rel="match" href="overflow-body-propagation-008-ref.html">
|
||||
<style>
|
||||
body {
|
||||
overflow-y: -moz-hidden-unscrollable; /* will be removed in bug 1531609 */
|
||||
overflow-y: clip;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
<link rel="match" href="overflow-body-propagation-009-ref.html">
|
||||
<style>
|
||||
body {
|
||||
overflow: -moz-hidden-unscrollable; /* will be removed in bug 1531609 */
|
||||
overflow: clip;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
|
|
|
@ -29,7 +29,7 @@ add_task(async function() {
|
|||
<option>a</option><option>a</option><option>a</option><option>a</option><option>a</option><option>a</option><option>a</option>\
|
||||
<option>a</option><option>a</option><option>a</option><option>a</option><option>a</option><option>a</option><option>a</option></select>\
|
||||
<div id="g" style="width: 99px; height: 99px; border: 10px solid black; margin: 10px; overflow: auto;"><div style="width: 100px; height: 100px;"></div></div>\
|
||||
<div id="h" style="width: 100px; height: 100px; overflow: -moz-hidden-unscrollable;"><div style="width: 200px; height: 200px;"></div></div>\
|
||||
<div id="h" style="width: 100px; height: 100px; overflow: clip;"><div style="width: 200px; height: 200px;"></div></div>\
|
||||
<iframe id="iframe" style="display: none;"></iframe>\
|
||||
</body></html>',
|
||||
},
|
||||
|
|
|
@ -95,7 +95,7 @@ iframe {
|
|||
/******** window & page ******/
|
||||
|
||||
window {
|
||||
overflow: -moz-hidden-unscrollable;
|
||||
overflow: clip;
|
||||
-moz-box-orient: vertical;
|
||||
}
|
||||
|
||||
|
@ -474,7 +474,7 @@ search-textbox {
|
|||
.autocomplete-richlistitem {
|
||||
-moz-box-orient: vertical;
|
||||
-moz-box-align: center;
|
||||
overflow: -moz-hidden-unscrollable;
|
||||
overflow: clip;
|
||||
}
|
||||
|
||||
%endif
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
|
||||
|
||||
.notificationbox-stack {
|
||||
overflow: -moz-hidden-unscrollable;
|
||||
overflow: clip;
|
||||
}
|
||||
|
||||
notification {
|
||||
|
|
Загрузка…
Ссылка в новой задаче