[wp-trac] [WordPress Trac] #64041: Twenty Twelve: support Image block rounded style

WordPress Trac noreply at wordpress.org
Thu Sep 25 21:29:36 UTC 2025


#64041: Twenty Twelve: support Image block rounded style
---------------------------+---------------------
 Reporter:  lancewillett   |       Owner:  (none)
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  6.9
Component:  Bundled Theme  |     Version:  6.6
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |     Focuses:  css
---------------------------+---------------------
Changes (by sabernhardt):

 * focuses:   => css
 * severity:  minor => normal
 * component:  Themes => Bundled Theme
 * priority:  low => normal
 * version:  trunk => 6.6
 * milestone:  Awaiting Review => 6.9


Comment:

 The Rounded style had worked with WordPress 6.5, when the `block-library`
 stylesheet included
 {{{
 .wp-block-image .is-style-rounded img,
 .wp-block-image.is-style-rounded img {
   border-radius: 9999px;
 }
 }}}

 6.6 reduced the specificity to
 {{{
 :root :where(.wp-block-image.is-style-rounded img, .wp-block-image .is-
 style-rounded img) {
   border-radius: 9999px;
 }
 }}}
 which is lower than `img` styles in Twenty Twelve's `style.css`:
 {{{
 .entry-content img,
 .widget img {
         border-radius: 3px;
 }
 }}}

 [attachment:"64041.1.diff"] copies the
 [https://github.com/WordPress/gutenberg/blob/45a2e014b0b131254b3b244f7e49dfe4bc28e33e/packages
 /block-library/src/image/style.scss#L71-L77 pixel-value radius] ruleset
 from the older `block-library` styles to the theme, and block-related
 styles belong in `blocks.css`.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/64041#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list