Make WordPress Core

Opened 2 years ago

Last modified 7 weeks ago

#58077 new defect (bug)

Twenty Twelve: Table block - Top border inconsistent with rest of the table

Reported by: pooja1210's profile pooja1210 Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Bundled Theme Keywords: has-patch
Focuses: css Cc:

Description

Steps to Reproduce:

  • Go to any post/page
  • Select Table Block
  • Observe that the Top Border for the table block is missing

Test Environment
WordPress: 6.2
Theme: Twenty Twelve

Attachments (1)

Screenshot 2023-04-04 at 12.40.09 PM.png (63.0 KB) - added by pooja1210 2 years ago.

Download all attachments as: .zip

Change History (5)

#1 @ugyensupport
2 years ago

Bug Report

Description

Twenty Twelve theme: Table block - Top border is missing for the block

Environment

  • WordPress: 6.2
  • PHP: 7.4.13
  • Server: Apache/2.4.10 (Debian)
  • Database: mysqli (Server: 5.5.59-MariaDB-1~wheezy / Client: 5.5.62)
  • Browser: Chrome 111.0.0.0 (macOS)
  • Theme: Twenty Twelve 3.9
  • Theme: Twenty Thirteen 3.8
  • MU-Plugins: None activated
  • Plugins:
    • Gutenberg 15.4.0
    • WordPress Beta Tester 3.3.7

Steps to Reproduce

  1. Go to any post/page
  2. Select Table Block
  3. 🐞 Bug occurs: Observe that the Top Border for the table block is missing

Expected Results

  1. ✅ It should work smoothly as other current themes like Twenty Twenty Three.

As I haven't seen any issues in regards to Themes above Twenty Thirteen.

Actual Results

  1. ❌ Need a fix to Theme: Twenty Twelve 3.9 and Twenty Thirteen 3.8 to add missing top border.

#2 @sabernhardt
2 years ago

  • Component changed from General to Bundled Theme
  • Focuses css added
  • Summary changed from Twenty Twelve theme: Table block - Top border is missing for the block to Twenty Twelve: Table block - Top border inconsistent with rest of the table

Related: #55183

The top border is visible in the editor; it simply is very light. The front end has light top and bottom borders for tables in both Twenty Twelve and Twenty Thirteen.

While matching front-end styles in the editor is important, that would pose another complication by making cells more difficult to recognize when editing with these themes. I suggested a focus style on the other ticket, though I would prefer having dark borders in the editor before selecting the cell.

#3 @karmatosed
13 months ago

  • Keywords needs-patch added

The top border is visible in the editor; it simply is very light. The front end has light top and bottom borders for tables in both Twenty Twelve and Twenty Thirteen.

I also agree with this in testing. Initially I thought it was missing myself, but it isn't missing it is just that this is incredibly light. My recommendation would be to make it the same color as the rest of the table or just close this for now as won't fix. It does feel like it's missing so perhaps it is better to get a patch, for now adding patch keyword.

This ticket was mentioned in PR #8468 on WordPress/wordpress-develop by @sainathpoojary.


7 weeks ago
#4

  • Keywords has-patch added; needs-patch removed

Trac ticket: #58077

Fixes the inconsistent top border in the Twenty Twelve theme’s table block within the editor. The top border appeared too light, making it seem missing. This update removes the unnecessary border style to maintain consistency with the rest of the
table.

Before:

https://github.com/user-attachments/assets/6e1153dd-8c2e-4eb8-a598-6d4ddc19208a

After:

https://github.com/user-attachments/assets/b337a800-ec37-4fd3-b8ce-276fc6e92a89

Note: See TracTickets for help on using tickets.