[wp-trac] [WordPress Trac] #48722: Twenty Sixteen shows redundant borders for table in 5.3

WordPress Trac noreply at wordpress.org
Tue Nov 19 10:35:00 UTC 2019


#48722: Twenty Sixteen shows redundant borders for table in 5.3
--------------------------+-----------------------------
 Reporter:  noyle         |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Themes        |    Version:  5.3
 Severity:  normal        |   Keywords:
  Focuses:  css           |
--------------------------+-----------------------------
 I don't know if Twenty Sixteen theme is still supported by WP 5.3 or if
 the theme problem should be reported here, but..

 As of WP 5.3, the Gutenberg table block is inserted within a figure tag

 {{{
 <figure class="wp-block-table is-style-regular">
 <table class=...
 ...
 </figure>
 }}}

 but only bare table is inserted in WP prior 5.3. So the CSS for displaying
 a figure tag will add extra borders in top & left in WP 5.3 with the
 Twenty Sixteen theme.

 See this link for example: [https://noyle.home.blog/2019/11/19/19/].

 There could be other blocks start getting a figure tag wrapper around
 themselves which will show a top and a left border for them. And the
 affected themes should not be limited to Twenty Sixteen.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/48722>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list