diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:22:09 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:22:09 +0000 |
commit | 43a97878ce14b72f0981164f87f2e35e14151312 (patch) | |
tree | 620249daf56c0258faa40cbdcf9cfba06de2a846 /testing/web-platform/tests/scroll-to-text-fragment/resources/non-html.css | |
parent | Initial commit. (diff) | |
download | firefox-43a97878ce14b72f0981164f87f2e35e14151312.tar.xz firefox-43a97878ce14b72f0981164f87f2e35e14151312.zip |
Adding upstream version 110.0.1.upstream/110.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/scroll-to-text-fragment/resources/non-html.css')
-rw-r--r-- | testing/web-platform/tests/scroll-to-text-fragment/resources/non-html.css | 132 |
1 files changed, 132 insertions, 0 deletions
diff --git a/testing/web-platform/tests/scroll-to-text-fragment/resources/non-html.css b/testing/web-platform/tests/scroll-to-text-fragment/resources/non-html.css new file mode 100644 index 0000000000..07f029442a --- /dev/null +++ b/testing/web-platform/tests/scroll-to-text-fragment/resources/non-html.css @@ -0,0 +1,132 @@ + + :root { + font-family: system-ui; + } + .valueFlex { + width: 100%; + box-sizing: border-box; + height: 40px; + border: 1px solid grey; + display: flex; + flex-direction: row; + align-items: center; + gap: 10px; + background-color: lightgrey; + + } + .valueFlex div { + height: 100%; + flex-grow: 1; + } + .valueFlex .value { + flex-grow: 4; + text-align: center; + } + + .valueFlex div div { + display: flex; + align-items: center; + justify-content: center; + } + + .valueFlex .value.disabled { + background-color: tomato; + } + .valueFlex .value.disabled div:before { + content: "Disabled"; + } + + .valueFlex .value.enabled { + background-color: chartreuse; + } + .valueFlex .value.enabled div:before { + content: "Enabled"; + } + + .valueGrid { + border: 1px solid grey; + display: grid; + grid-template-columns: 1fr 3fr; + } + + .valueGrid>div { + padding: 5px; + background-color: lightgrey; + display: flex; + justify-content: center; + align-items: center; + } + + .valueGrid>div>div { + overflow-wrap: anywhere; + } + + .valueGrid div.value { + background-color: thistle; + } + + .generator { + width: 100%; + box-sizing: border-box; + height: 40px; + border: 1px solid grey; + display: flex; + flex-direction: row; + align-items: center; + gap: 10px; + background-color: lightgrey; + } + + .items { + display: grid; + grid-template-columns: 1fr 4fr; + gap: 4px; + } + + .box { + border: 1px solid black; + } + + .box.label { + display: flex; + justify-content: center; + align-items: center; + } + + .box.listing { + padding: 10px; + display: grid; + grid-template-columns: 1fr 4fr; + row-gap: 2px; + } + + .box.listing div { + background-color: lightgrey; + } + .box.listing .value { + font-style: italic; + overflow-wrap: anywhere; + } + + .content { + } + + hr { + margin-top: 40px; + margin-bottom: 40px; + } + + #iframesContainer { + display:flex; + width: 100%; + border: 1px solid blue; + } + + #iframesContainer div { + flex: 1; + } + + #target { + width: 100px; + } + |