Bug 52123 - CSS 2.1 failure: table-anonymous-objects*
Summary: CSS 2.1 failure: table-anonymous-objects*
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords: WPTImpact
Depends on: 52124 138167
Blocks: 47141
  Show dependency treegraph
 
Reported: 2011-01-08 20:26 PST by Simon Fraser (smfr)
Modified: 2022-10-07 23:49 PDT (History)
10 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Fraser (smfr) 2011-01-08 20:26:28 PST
These tests fail:

html4/table-anonymous-objects-015
html4/table-anonymous-objects-016
html4/table-anonymous-objects-023
html4/table-anonymous-objects-024
html4/table-anonymous-objects-035
html4/table-anonymous-objects-036
html4/table-anonymous-objects-037
html4/table-anonymous-objects-038
html4/table-anonymous-objects-045
html4/table-anonymous-objects-046
html4/table-anonymous-objects-047
html4/table-anonymous-objects-048
html4/table-anonymous-objects-049
html4/table-anonymous-objects-050
html4/table-anonymous-objects-055
html4/table-anonymous-objects-056
html4/table-anonymous-objects-085
html4/table-anonymous-objects-086
html4/table-anonymous-objects-091
html4/table-anonymous-objects-092
html4/table-anonymous-objects-099
html4/table-anonymous-objects-100
html4/table-anonymous-objects-103
html4/table-anonymous-objects-104
html4/table-anonymous-objects-105
html4/table-anonymous-objects-106
html4/table-anonymous-objects-107
html4/table-anonymous-objects-108
html4/table-anonymous-objects-109
html4/table-anonymous-objects-110
html4/table-anonymous-objects-111
html4/table-anonymous-objects-112
html4/table-anonymous-objects-113
html4/table-anonymous-objects-114
html4/table-anonymous-objects-115
html4/table-anonymous-objects-116
html4/table-anonymous-objects-117
html4/table-anonymous-objects-118
html4/table-anonymous-objects-119
html4/table-anonymous-objects-120
html4/table-anonymous-objects-121
html4/table-anonymous-objects-122
html4/table-anonymous-objects-123
html4/table-anonymous-objects-124
html4/table-anonymous-objects-125
html4/table-anonymous-objects-126
html4/table-anonymous-objects-127
html4/table-anonymous-objects-128
html4/table-anonymous-objects-129
html4/table-anonymous-objects-130
html4/table-anonymous-objects-131
html4/table-anonymous-objects-132
html4/table-anonymous-objects-139
html4/table-anonymous-objects-140
html4/table-anonymous-objects-149
html4/table-anonymous-objects-150
html4/table-anonymous-objects-155
html4/table-anonymous-objects-156
html4/table-anonymous-objects-157
html4/table-anonymous-objects-158
html4/table-anonymous-objects-159
html4/table-anonymous-objects-160
html4/table-anonymous-objects-165
html4/table-anonymous-objects-166
html4/table-anonymous-objects-167
html4/table-anonymous-objects-168
html4/table-anonymous-objects-169
html4/table-anonymous-objects-170
html4/table-anonymous-objects-171
html4/table-anonymous-objects-172
html4/table-anonymous-objects-173
html4/table-anonymous-objects-174
html4/table-anonymous-objects-175
html4/table-anonymous-objects-176
html4/table-anonymous-objects-177
html4/table-anonymous-objects-178
html4/table-anonymous-objects-179
html4/table-anonymous-objects-180
html4/table-anonymous-objects-181
html4/table-anonymous-objects-182
html4/table-anonymous-objects-183
html4/table-anonymous-objects-184
html4/table-anonymous-objects-185
html4/table-anonymous-objects-186
html4/table-anonymous-objects-187
html4/table-anonymous-objects-188
html4/table-anonymous-objects-189
html4/table-anonymous-objects-190
html4/table-anonymous-objects-191
html4/table-anonymous-objects-192
html4/table-anonymous-objects-193
html4/table-anonymous-objects-194
html4/table-anonymous-objects-195
html4/table-anonymous-objects-196
html4/table-anonymous-objects-199
html4/table-anonymous-objects-200
html4/table-anonymous-objects-201
html4/table-anonymous-objects-202
html4/table-anonymous-objects-203
html4/table-anonymous-objects-204
html4/table-anonymous-objects-205
html4/table-anonymous-objects-206
html4/table-anonymous-objects-207
html4/table-anonymous-objects-208

At least some of these are caused by WebKit not implementing the disabling of style elements from script:

    <style id="s" type="text/css">
      span { display: block ! important }
    </style>
    <script type="text/javascript">
      function doTest() {
        var s = document.getElementById("s");
        s.disabled = true;
        document.documentElement.className = "";
      }
    </script>
Comment 1 Simon Fraser (smfr) 2011-01-08 20:49:15 PST
The only tests affected by the 'disabled' setting are:

table-anonymous-objects-015
table-anonymous-objects-016
table-anonymous-objects-019
table-anonymous-objects-020

I filed bug 52124 on that.
Comment 2 Dave Hyatt 2011-03-11 12:40:14 PST
Looks like we need to implement the removal of leftover anonymous boxes for table objects.  That's the crux of most of these failures... that we leave detritus in the render tree after the removal of objects with anonymous table parts enclosing them.
Comment 3 Ahmad Saleem 2022-07-24 11:28:34 PDT
These tests are now within WPT and Safari do fail few:

https://wpt.fyi/results/css/CSS2/tables?label=master&label=experimental&aligned&q=table-anonymous-object

Please refer to above to see current failures. Thanks!