wpt / css / css-cascade / all-prop-revert-layer-noop.html

Status: FAIL | Duration: 80ms | Subtests: 0/114 | Open test on wpt.live | wpt.fyi

Data from commit:
a50cb89 wpt: run reference-named files which are themselves tests (#836) (2026-09-03)

SubtestStatusMessage
aFAILvalue with type `object` is not iterable
abbrFAILvalue with type `object` is not iterable
addressFAILvalue with type `object` is not iterable
areaFAILvalue with type `object` is not iterable
articleFAILvalue with type `object` is not iterable
asideFAILvalue with type `object` is not iterable
audioFAILvalue with type `object` is not iterable
bFAILvalue with type `object` is not iterable
baseFAILvalue with type `object` is not iterable
bdiFAILvalue with type `object` is not iterable
bdoFAILvalue with type `object` is not iterable
blockquoteFAILvalue with type `object` is not iterable
bodyFAILvalue with type `object` is not iterable
brFAILvalue with type `object` is not iterable
buttonFAILvalue with type `object` is not iterable
canvasFAILvalue with type `object` is not iterable
captionFAILvalue with type `object` is not iterable
citeFAILvalue with type `object` is not iterable
codeFAILvalue with type `object` is not iterable
colFAILvalue with type `object` is not iterable
colgroupFAILvalue with type `object` is not iterable
dataFAILvalue with type `object` is not iterable
datalistFAILvalue with type `object` is not iterable
ddFAILvalue with type `object` is not iterable
delFAILvalue with type `object` is not iterable
detailsFAILvalue with type `object` is not iterable
dfnFAILvalue with type `object` is not iterable
dialogFAILvalue with type `object` is not iterable
divFAILvalue with type `object` is not iterable
dlFAILvalue with type `object` is not iterable
dtFAILvalue with type `object` is not iterable
emFAILvalue with type `object` is not iterable
embedFAILvalue with type `object` is not iterable
fieldsetFAILvalue with type `object` is not iterable
figcaptionFAILvalue with type `object` is not iterable
figureFAILvalue with type `object` is not iterable
footerFAILvalue with type `object` is not iterable
formFAILvalue with type `object` is not iterable
h1FAILvalue with type `object` is not iterable
h2FAILvalue with type `object` is not iterable
h3FAILvalue with type `object` is not iterable
h4FAILvalue with type `object` is not iterable
h5FAILvalue with type `object` is not iterable
h6FAILvalue with type `object` is not iterable
headFAILvalue with type `object` is not iterable
headerFAILvalue with type `object` is not iterable
hrFAILvalue with type `object` is not iterable
htmlFAILvalue with type `object` is not iterable
iFAILvalue with type `object` is not iterable
iframeFAILvalue with type `object` is not iterable
imgFAILvalue with type `object` is not iterable
inputFAILvalue with type `object` is not iterable
insFAILvalue with type `object` is not iterable
kbdFAILvalue with type `object` is not iterable
labelFAILvalue with type `object` is not iterable
legendFAILvalue with type `object` is not iterable
liFAILvalue with type `object` is not iterable
linkFAILvalue with type `object` is not iterable
mainFAILvalue with type `object` is not iterable
mapFAILvalue with type `object` is not iterable
markFAILvalue with type `object` is not iterable
mathFAILvalue with type `object` is not iterable
menuFAILvalue with type `object` is not iterable
metaFAILvalue with type `object` is not iterable
meterFAILvalue with type `object` is not iterable
navFAILvalue with type `object` is not iterable
noscriptFAILvalue with type `object` is not iterable
objectFAILvalue with type `object` is not iterable
olFAILvalue with type `object` is not iterable
optgroupFAILvalue with type `object` is not iterable
optionFAILvalue with type `object` is not iterable
outputFAILvalue with type `object` is not iterable
pFAILvalue with type `object` is not iterable
paramFAILvalue with type `object` is not iterable
preFAILvalue with type `object` is not iterable
progressFAILvalue with type `object` is not iterable
qFAILvalue with type `object` is not iterable
rpFAILvalue with type `object` is not iterable
rtFAILvalue with type `object` is not iterable
rubyFAILvalue with type `object` is not iterable
sFAILvalue with type `object` is not iterable
sampFAILvalue with type `object` is not iterable
scriptFAILvalue with type `object` is not iterable
searchFAILvalue with type `object` is not iterable
sectionFAILvalue with type `object` is not iterable
selectFAILvalue with type `object` is not iterable
slotFAILvalue with type `object` is not iterable
smallFAILvalue with type `object` is not iterable
sourceFAILvalue with type `object` is not iterable
spanFAILvalue with type `object` is not iterable
strongFAILvalue with type `object` is not iterable
styleFAILvalue with type `object` is not iterable
subFAILvalue with type `object` is not iterable
summaryFAILvalue with type `object` is not iterable
supFAILvalue with type `object` is not iterable
svgFAILvalue with type `object` is not iterable
tableFAILvalue with type `object` is not iterable
tbodyFAILvalue with type `object` is not iterable
tdFAILvalue with type `object` is not iterable
templateFAILvalue with type `object` is not iterable
textareaFAILvalue with type `object` is not iterable
tfootFAILvalue with type `object` is not iterable
thFAILvalue with type `object` is not iterable
theadFAILvalue with type `object` is not iterable
timeFAILvalue with type `object` is not iterable
titleFAILvalue with type `object` is not iterable
trFAILvalue with type `object` is not iterable
trackFAILvalue with type `object` is not iterable
uFAILvalue with type `object` is not iterable
ulFAILvalue with type `object` is not iterable
varFAILvalue with type `object` is not iterable
videoFAILvalue with type `object` is not iterable
wbrFAILvalue with type `object` is not iterable
z-customFAILvalue with type `object` is not iterable

/css/css-cascade/all-prop-revert-layer-noop.html

<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Cascade: "all: revert-layer"</title>
<link rel="author" title="Oriol Brufau" href="mailto:obrufau@igalia.com">
<link rel="help" href="https://www.w3.org/TR/css-cascade-5/#revert-layer">
<meta name="assert" content="Checks that adding 'all: revert-layer' inside @layer has no effect on elements with no other author rules.">
<!-- Split into chunks to avoid timeouts. -->
<meta name="variant" content="?include=0">
<meta name="variant" content="?include=1">
<meta name="variant" content="?include=2">
<meta name="variant" content="?include=3">
<meta name="variant" content="?include=4">
<meta name="variant" content="?include=5">
<meta name="variant" content="?include=6">
<meta name="variant" content="?include=7">
<script>
  const CHUNKS = 8;
</script>

<style>
@layer {
  .revert-all {
    all: revert-layer;
  }
}
</style>

<div id="log"></div>
<div id="wrapper"></div>

<script src="/common/subset-tests-by-key.js"></script>
<script src="/html/resources/common.js"></script>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script>
function cloneStyle(style) {
  const clone = Object.create(null);
  for (let property of style) {
    clone[property] = style.getPropertyValue(property);
  }
  return clone;
}

function assertSameClones(clone1, clone2, callback) {
  for (let property in clone1) {
    const value1 = clone1[property];
    const value2 = clone2[property];
    // assert_equals is slow, so only call it if it's going to fail.
    if (value1 !== value2) {
      assert_equals(value1, value2, property);
    }
  }
}

const wrapper = document.getElementById("wrapper");
const elementNames = [...HTML5_ELEMENTS, "math", "svg", "z-custom"].sort();
for (let i = 0; i < elementNames.length; ++i) {
  let elementName = elementNames[i];
  let chunk = i % CHUNKS;
  subsetTestByKey(chunk.toString(), test, function() {
    const element = document.createElement(elementName);
    wrapper.appendChild(element);
    const style = getComputedStyle(element);
    const clonedBaseStyle = cloneStyle(style);
    element.classList.add("revert-all");
    const clonedRevertedStyle = cloneStyle(style);
    assertSameClones(clonedRevertedStyle, clonedBaseStyle);
  }, elementName);
}
</script>