Make WordPress Core

Opened 6 weeks ago

Last modified 6 weeks ago

#63425 new defect (bug)

Twenty Sixteen: Quote block citation font size does not change with the block settings

Reported by: nidhidhandhukiya's profile nidhidhandhukiya Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Bundled Theme Keywords: has-patch dev-feedback has-test-info
Focuses: Cc:

Description

Steps to reproduce the issue:-

  1. Activate Twenty Sixteen theme.
  2. Choose Quote block.
  3. Add some text and ciation text.
  4. Choose font size to s size or xl.

You can able to see that citation text font size is not changed and it looks not good when small size is choosen.

Attachments (2)

63425.patch (420 bytes) - added by nidhidhandhukiya 6 weeks ago.
63425.1.patch (979 bytes) - added by sabernhardt 6 weeks ago.
relative measurement of 0.8421052632em

Download all attachments as: .zip

Change History (7)

#1 @dilipbheda
6 weeks ago

  • Keywords has-patch added

Test Report

Description

This report validates whether the indicated patch works as expected.

Patch tested: https://core.trac.wordpress.org/attachment/ticket/63425/63425.patch

Environment

  • WordPress: 6.9-alpha-60093-src
  • PHP: 8.2.28
  • Server: nginx/1.27.5
  • Database: mysqli (Server: 8.4.5 / Client: mysqlnd 8.2.28)
  • Browser: Chrome 136.0.0.0
  • OS: Linux
  • Theme: Twenty Sixteen 3.5
  • MU Plugins: None activated
  • Plugins:
    • Test Reports 1.2.0

Actual Results

  1. ✅ Issue resolved with patch.

#2 @SirLouen
6 weeks ago

  • Keywords dev-feedback has-test-info added

#3 @sabernhardt
6 weeks ago

  • Summary changed from Twenty Sixteen - Quote block having issue in ciation font size. to Twenty Sixteen: Quote block citation font size does not change with the block settings
  • Version 6.8 deleted

When testing user-defined block settings, you must also check how any change would affect the default block styles. Using inherit would increase the citation font size from 16 to 19, matching the quote paragraph.

The theme theoretically could use a relative measurement of 0.8421052632em for the citation, which would scale with custom sizes set on the block. The editor styles should reflect that too.

@sabernhardt
6 weeks ago

relative measurement of 0.8421052632em

#4 @sabernhardt
6 weeks ago

In 63425.1.patch, I added .wp-block-quote cite in the editor stylesheet to override styles from the block library theme.css.

#5 @getsyash
6 weeks ago

Test Report


Description

This report validates whether the indicated patch works as expected.
Patch tested: https://core.trac.wordpress.org/attachment/ticket/63425/63425.1.patch

Environment

WordPress: 6.8.1
PHP: 8.2.28
Server: nginx/1.27.5
Database: mysqli (Server: 8.4.5 / Client: mysqlnd 8.2.28)
Browser: Firefox 138.0.1
OS: Windows
Theme: Twenty Sixteen 3.5
Plugins: None activated


Actual Results

✅ Issue resolved with patch.

Note: See TracTickets for help on using tickets.