Bug 1372276 - Part 3: Remove special styling for menu[type=context]; r?bz draft
authorGordon P. Hemsley <gphemsley@gmail.com>
Tue, 25 Jul 2017 09:10:35 -0400
changeset 618198 dbd69656c41b73ec0e0e78924474dd3d3068f4e2
parent 618197 60e629d4f6b7a2ccc01d24f1f69ac47a2b7dcf4e
child 618199 c8ff3a36771cd8932df9acede1b7c2460218b8cc
push id71235
push userbmo:gphemsley@gphemsley.org
push dateSun, 30 Jul 2017 14:44:40 +0000
reviewersbz
bugs1372276
milestone56.0a1
Bug 1372276 - Part 3: Remove special styling for menu[type=context]; r?bz MozReview-Commit-ID: W3q4T3YC3z
layout/style/res/html.css
testing/web-platform/meta/html/semantics/interactive-elements/contextmenu-historical.html.ini
--- a/layout/style/res/html.css
+++ b/layout/style/res/html.css
@@ -572,20 +572,16 @@ abbr[title], acronym[title] {
 ul, menu, dir {
   display: block;
   list-style-type: disc;
   margin-block-start: 1em;
   margin-block-end: 1em;
   padding-inline-start: 40px;
 }
 
-menu[type="context"] {
-  display: none !important;
-}
-
 ol {
   display: block;
   list-style-type: decimal;
   margin-block-start: 1em;
   margin-block-end: 1em;
   padding-inline-start: 40px;
 }
 
--- a/testing/web-platform/meta/html/semantics/interactive-elements/contextmenu-historical.html.ini
+++ b/testing/web-platform/meta/html/semantics/interactive-elements/contextmenu-historical.html.ini
@@ -11,10 +11,10 @@
 
   [menu.type must not exist or reflect the content attribute]
     expected: FAIL
 
   [menu.label must not exist or reflect the content attribute]
     expected: FAIL
 
   [The user-agent stylesheet must leave type="context" menus as block display like other menus]
-    expected: FAIL
+    expected: PASS