Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(39)

Unified Diff: third_party/WebKit/LayoutTests/fast/css/quirk-inherit-ua-only.html

Issue 1713513002: Rename -webkit-text to -internal-quirk-inherit, limiting it to UA style (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase; add new (negative) test Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/css/webkit-text-display-none.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/css/quirk-inherit-ua-only.html
diff --git a/third_party/WebKit/LayoutTests/fast/css/quirk-inherit-ua-only.html b/third_party/WebKit/LayoutTests/fast/css/quirk-inherit-ua-only.html
new file mode 100644
index 0000000000000000000000000000000000000000..dbdb531a4f0235c2aa3ad6213844d86e8c86ca59
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/css/quirk-inherit-ua-only.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<title>The '-internal-quirk-inherit' CSS value is only exposed to UA stylesheets</title>
+<script src="../../resources/testharness.js"></script>
+<script src="../../resources/testharnessreport.js"></script>
+<style>
+#t1 {
+ color: blue;
+ color: -internal-quirk-inherit;
+}
+</style>
+<table id="t1"></table>
+<table style="color: -internal-quirk-inherit"></table>
+<script>
+test(function() {
+ var tables = document.querySelectorAll('table');
+ assert_equals(getComputedStyle(tables[0]).color, 'rgb(0, 0, 255)');
+ assert_equals(tables[1].style.color, '');
+});
+</script>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/css/webkit-text-display-none.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698