https://github.com/web-platform-tests/wpt
Revision 622b6fd97abd374fdd18a783d12a684f3fa98e23 authored by Emil A Eklund on 18 December 2018, 22:56:53 UTC, committed by Philip Jägenstedt on 19 December 2018, 15:14:29 UTC
Change getComputedStyle to return the resolved value for line-height per
the CSSOM specification [1]. Specifically for 'normal' or invalid values
this will return the computed line-height instead of the specified ones.

1) https://drafts.csswg.org/cssom/#resolved-value

Bug: 383409
Test: wpt/css/cssom/line-height-resolved-value.html
Change-Id: Id58fdc700605779a7f34ccbefb62290e3eea1117
1 parent 712c9f2
Raw File
Tip revision: 622b6fd97abd374fdd18a783d12a684f3fa98e23 authored by Emil A Eklund on 18 December 2018, 22:56:53 UTC
Return resolved-value for ComputedStyle line-height
Tip revision: 622b6fd
grid_columnheader_required_true-manual.html
<!doctype html>
<html>
  <head>
    <title>grid columnheader required true</title>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
    <link rel="stylesheet" href="/wai-aria/scripts/manual.css">
    <script src="/resources/testharness.js"></script>
    <script src="/resources/testharnessreport.js"></script>
    <script src="/wai-aria/scripts/ATTAcomm.js"></script>
    <script>
    setup({explicit_timeout: true, explicit_done: true });

    var theTest = new ATTAcomm(
    {
   "steps" : [
      {
         "element" : "test",
         "test" : {
            "ATK" : [
               [
                  "property",
                  "role",
                  "is",
                  "ROLE_COLUMN_HEADER"
               ],
               [
                  "property",
                  "states",
                  "contains",
                  "STATE_REQUIRED"
               ]
            ],
            "AXAPI" : [
               [
                  "property",
                  "AXRole",
                  "is",
                  "AXCell"
               ],
               [
                  "property",
                  "AXRequired",
                  "is",
                  "true"
               ]
            ],
            "IAccessible2" : [
               [
                  "property",
                  "role",
                  "is",
                  "ROLE_SYSTEM_COLUMNHEADER"
               ],
               [
                  "property",
                  "states",
                  "contains",
                  "IA2_STATE_REQUIRED"
               ]
            ],
            "MSAA" : [
               [
                  "property",
                  "role",
                  "is",
                  "ROLE_SYSTEM_COLUMNHEADER"
               ]
            ],
            "UIA" : [
               [
                  "property",
                  "ControlType",
                  "is",
                  "HeaderItem"
               ],
               [
                  "property",
                  "IsrequiredForForm",
                  "is",
                  "true"
               ]
            ]
         },
         "title" : "step 1",
         "type" : "test"
      }
   ],
   "title" : "grid columnheader required true"
}

    ) ;
    </script>
  </head>
  <body>
  <p>This test examines the ARIA properties for grid columnheader required true.</p>
    <div role="grid">
    <div role="row">
       <div id="test" role="columnheader" aria-required="true">test cell</div>
    </div>
  </div>

  <div id="manualMode"></div>
  <div id="log"></div>
  <div id="ATTAmessages"></div>
  </body>
</html>
back to top