Commit af572bce authored by Darren Shen's avatar Darren Shen Committed by Commit Bot

[css-typed-om] Remove junk test.

Accidentally upstreamed a test test.

TBR=nainar@chromium.org

Bug: 774887
Change-Id: I52b48d2d83f1bdc95d0ac6ffcf5c58d791aa5cf7
Reviewed-on: https://chromium-review.googlesource.com/894744
Commit-Queue: Darren Shen <shend@chromium.org>
Reviewed-by: default avatarDarren Shen <shend@chromium.org>
Cr-Commit-Position: refs/heads/master@{#533149}
parent 5c7b0986
<!doctype html>
<meta charset="utf-8">
<title>Declared StylePropertyMap tests</title>
<link rel="help" href="https://drafts.css-houdini.org/css-typed-om-1/#declared-stylepropertymap-objects">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../../resources/testhelper.js"></script>
<style>
#target { width: 100px; height: 100px; background: red; }
</style>
<body>
<div id="target">
<script>
'use strict';
test(() => {
let rule = document.styleSheets[0].rules[0];
rule.styleMap.set('width', CSS.px(200));
assert_equals(getComputedStyle(target).width, '200px')
rule.styleMap.set('width', CSS.px(150));
assert_equals(getComputedStyle(target).width, '150px')
});
</script>
</body>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment