Skip to content

Commit 5bb6344

Browse files
committed
Block Editor: Bug fixes targetted for WordPress 5.3 RC3.
The list of included fixes is: WordPress/gutenberg#18108 WordPress/gutenberg#18051 WordPress/gutenberg#18106 WordPress/gutenberg#18102 Updated packages: @wordpress/api-fetch@3.6.4 @wordpress/block-directory@1.0.4 @wordpress/block-library@2.9.4 @wordpress/core-data@2.7.4 @wordpress/data-controls@1.3.4 @wordpress/edit-post@3.8.4 @wordpress/editor@9.7.4 @wordpress/list-reusable-blocks@1.8.4 @wordpress/media-utils@1.2.4 @wordpress/server-side-render@1.3.4 Props desrosj, youknowriad. Merges [{46606}] to the 5.3 branch. See #48447. Built from https://develop.svn.wordpress.org/branches/5.3@46611 git-svn-id: http://core.svn.wordpress.org/branches/5.3@46408 1a063a9b-81f0-0310-95a4-ce76da25c4cd
1 parent 4b2996f commit 5bb6344

24 files changed

+78
-84
lines changed

wp-includes/css/dist/block-library/editor-rtl.css

+2-5
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ div[data-type="core/button"] div[data-block] {
180180
display: flex;
181181
flex-direction: column;
182182
flex: 1 1 auto; }
183-
@supports ((position: -webkit-sticky) or (position: sticky)) {
183+
@supports (position: sticky) {
184184
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"],
185185
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] > .editor-block-list__block-edit,
186186
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] > .editor-block-list__block-edit > div[data-block],
@@ -600,7 +600,6 @@ div[data-type="core/freeform"].is-selected .block-library-rich-text__tinymce::af
600600
display: none;
601601
width: auto;
602602
margin: 0 -14px;
603-
position: -webkit-sticky;
604603
position: sticky;
605604
z-index: 10;
606605
top: 14px;
@@ -698,7 +697,7 @@ body.admin-color-light .blocks-gallery-item figure.is-selected {
698697
max-height: 100%;
699698
overflow-y: auto; }
700699

701-
@supports ((position: -webkit-sticky) or (position: sticky)) {
700+
@supports (position: sticky) {
702701
.blocks-gallery-item .is-selected .block-editor-rich-text {
703702
left: 0;
704703
right: 0;
@@ -1135,7 +1134,6 @@ figure.block-library-media-text__media-container {
11351134
.wp-block-navigation-menu {
11361135
display: -ms-grid;
11371136
display: grid;
1138-
grid-auto-columns: -webkit-min-content;
11391137
grid-auto-columns: min-content;
11401138
grid-auto-flow: column;
11411139
align-items: center;
@@ -1148,7 +1146,6 @@ figure.block-library-media-text__media-container {
11481146
.wp-block-navigation-menu-item__edit-container {
11491147
display: -ms-grid;
11501148
display: grid;
1151-
grid-auto-columns: -webkit-min-content;
11521149
grid-auto-columns: min-content;
11531150
grid-auto-flow: column;
11541151
align-items: center;

wp-includes/css/dist/block-library/editor-rtl.min.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

wp-includes/css/dist/block-library/editor.css

+2-5
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ div[data-type="core/button"] div[data-block] {
181181
display: flex;
182182
flex-direction: column;
183183
flex: 1 1 auto; }
184-
@supports ((position: -webkit-sticky) or (position: sticky)) {
184+
@supports (position: sticky) {
185185
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"],
186186
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] > .editor-block-list__block-edit,
187187
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] > .editor-block-list__block-edit > div[data-block],
@@ -605,7 +605,6 @@ div[data-type="core/freeform"].is-selected .block-library-rich-text__tinymce::af
605605
display: none;
606606
width: auto;
607607
margin: 0 -14px;
608-
position: -webkit-sticky;
609608
position: sticky;
610609
z-index: 10;
611610
top: 14px;
@@ -703,7 +702,7 @@ body.admin-color-light .blocks-gallery-item figure.is-selected {
703702
max-height: 100%;
704703
overflow-y: auto; }
705704

706-
@supports ((position: -webkit-sticky) or (position: sticky)) {
705+
@supports (position: sticky) {
707706
.blocks-gallery-item .is-selected .block-editor-rich-text {
708707
right: 0;
709708
left: 0;
@@ -1140,7 +1139,6 @@ figure.block-library-media-text__media-container {
11401139
.wp-block-navigation-menu {
11411140
display: -ms-grid;
11421141
display: grid;
1143-
grid-auto-columns: -webkit-min-content;
11441142
grid-auto-columns: min-content;
11451143
grid-auto-flow: column;
11461144
align-items: center;
@@ -1153,7 +1151,6 @@ figure.block-library-media-text__media-container {
11531151
.wp-block-navigation-menu-item__edit-container {
11541152
display: -ms-grid;
11551153
display: grid;
1156-
grid-auto-columns: -webkit-min-content;
11571154
grid-auto-columns: min-content;
11581155
grid-auto-flow: column;
11591156
align-items: center;

wp-includes/css/dist/block-library/editor.min.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

wp-includes/css/dist/block-library/style-rtl.css

+10-14
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@
234234
content: "";
235235
font-size: 0;
236236
min-height: inherit; }
237-
@supports ((position: -webkit-sticky) or (position: sticky)) {
237+
@supports (position: sticky) {
238238
.wp-block-cover-image::after,
239239
.wp-block-cover::after {
240240
content: none; } }
@@ -435,7 +435,7 @@ section.wp-block-cover-image > h2,
435435
.blocks-gallery-grid .blocks-gallery-item figure {
436436
margin: 0;
437437
height: 100%; }
438-
@supports ((position: -webkit-sticky) or (position: sticky)) {
438+
@supports (position: sticky) {
439439
.wp-block-gallery .blocks-gallery-image figure,
440440
.wp-block-gallery .blocks-gallery-item figure,
441441
.blocks-gallery-grid .blocks-gallery-image figure,
@@ -455,7 +455,7 @@ section.wp-block-cover-image > h2,
455455
.blocks-gallery-grid .blocks-gallery-image img,
456456
.blocks-gallery-grid .blocks-gallery-item img {
457457
width: 100%; }
458-
@supports ((position: -webkit-sticky) or (position: sticky)) {
458+
@supports (position: sticky) {
459459
.wp-block-gallery .blocks-gallery-image img,
460460
.wp-block-gallery .blocks-gallery-item img,
461461
.blocks-gallery-grid .blocks-gallery-image img,
@@ -489,7 +489,7 @@ section.wp-block-cover-image > h2,
489489
.blocks-gallery-grid.is-cropped .blocks-gallery-item a,
490490
.blocks-gallery-grid.is-cropped .blocks-gallery-item img {
491491
width: 100%; }
492-
@supports ((position: -webkit-sticky) or (position: sticky)) {
492+
@supports (position: sticky) {
493493
.wp-block-gallery.is-cropped .blocks-gallery-image a,
494494
.wp-block-gallery.is-cropped .blocks-gallery-image img,
495495
.wp-block-gallery.is-cropped .blocks-gallery-item a,
@@ -678,19 +678,15 @@ section.wp-block-cover-image > h2,
678678

679679
.is-style-circle-mask img {
680680
border-radius: 9999px; }
681-
@supports ((-webkit-mask-image: none) or (mask-image: none)) or (-webkit-mask-image: none) {
681+
@supports (mask-image: none) or (-webkit-mask-image: none) {
682682
.is-style-circle-mask img {
683683
/* stylelint-disable */
684-
-webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="50"/></svg>');
685-
mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="50"/></svg>');
684+
mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="50"/></svg>');
686685
/* stylelint-enable */
687686
mask-mode: alpha;
688-
-webkit-mask-repeat: no-repeat;
689-
mask-repeat: no-repeat;
690-
-webkit-mask-size: contain;
691-
mask-size: contain;
692-
-webkit-mask-position: center;
693-
mask-position: center;
687+
mask-repeat: no-repeat;
688+
mask-size: contain;
689+
mask-position: center;
694690
border-radius: none; } }
695691

696692
.wp-block-latest-comments__comment {
@@ -1405,7 +1401,7 @@ pre.wp-block-verse {
14051401
margin-left: 0; }
14061402
.wp-block-video video {
14071403
max-width: 100%; }
1408-
@supports ((position: -webkit-sticky) or (position: sticky)) {
1404+
@supports (position: sticky) {
14091405
.wp-block-video [poster] {
14101406
-o-object-fit: cover;
14111407
object-fit: cover; } }

wp-includes/css/dist/block-library/style-rtl.min.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

wp-includes/css/dist/block-library/style.css

+10-14
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@
237237
content: "";
238238
font-size: 0;
239239
min-height: inherit; }
240-
@supports ((position: -webkit-sticky) or (position: sticky)) {
240+
@supports (position: sticky) {
241241
.wp-block-cover-image::after,
242242
.wp-block-cover::after {
243243
content: none; } }
@@ -439,7 +439,7 @@ section.wp-block-cover-image > h2,
439439
.blocks-gallery-grid .blocks-gallery-item figure {
440440
margin: 0;
441441
height: 100%; }
442-
@supports ((position: -webkit-sticky) or (position: sticky)) {
442+
@supports (position: sticky) {
443443
.wp-block-gallery .blocks-gallery-image figure,
444444
.wp-block-gallery .blocks-gallery-item figure,
445445
.blocks-gallery-grid .blocks-gallery-image figure,
@@ -459,7 +459,7 @@ section.wp-block-cover-image > h2,
459459
.blocks-gallery-grid .blocks-gallery-image img,
460460
.blocks-gallery-grid .blocks-gallery-item img {
461461
width: 100%; }
462-
@supports ((position: -webkit-sticky) or (position: sticky)) {
462+
@supports (position: sticky) {
463463
.wp-block-gallery .blocks-gallery-image img,
464464
.wp-block-gallery .blocks-gallery-item img,
465465
.blocks-gallery-grid .blocks-gallery-image img,
@@ -493,7 +493,7 @@ section.wp-block-cover-image > h2,
493493
.blocks-gallery-grid.is-cropped .blocks-gallery-item a,
494494
.blocks-gallery-grid.is-cropped .blocks-gallery-item img {
495495
width: 100%; }
496-
@supports ((position: -webkit-sticky) or (position: sticky)) {
496+
@supports (position: sticky) {
497497
.wp-block-gallery.is-cropped .blocks-gallery-image a,
498498
.wp-block-gallery.is-cropped .blocks-gallery-image img,
499499
.wp-block-gallery.is-cropped .blocks-gallery-item a,
@@ -686,19 +686,15 @@ section.wp-block-cover-image > h2,
686686

687687
.is-style-circle-mask img {
688688
border-radius: 9999px; }
689-
@supports ((-webkit-mask-image: none) or (mask-image: none)) or (-webkit-mask-image: none) {
689+
@supports (mask-image: none) or (-webkit-mask-image: none) {
690690
.is-style-circle-mask img {
691691
/* stylelint-disable */
692-
-webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="50"/></svg>');
693-
mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="50"/></svg>');
692+
mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="50"/></svg>');
694693
/* stylelint-enable */
695694
mask-mode: alpha;
696-
-webkit-mask-repeat: no-repeat;
697-
mask-repeat: no-repeat;
698-
-webkit-mask-size: contain;
699-
mask-size: contain;
700-
-webkit-mask-position: center;
701-
mask-position: center;
695+
mask-repeat: no-repeat;
696+
mask-size: contain;
697+
mask-position: center;
702698
border-radius: none; } }
703699

704700
.wp-block-latest-comments__comment {
@@ -1417,7 +1413,7 @@ pre.wp-block-verse {
14171413
margin-right: 0; }
14181414
.wp-block-video video {
14191415
max-width: 100%; }
1420-
@supports ((position: -webkit-sticky) or (position: sticky)) {
1416+
@supports (position: sticky) {
14211417
.wp-block-video [poster] {
14221418
-o-object-fit: cover;
14231419
object-fit: cover; } }

wp-includes/css/dist/block-library/style.min.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

wp-includes/css/dist/edit-post/style-rtl.css

+13-6
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@
8282
.edit-post-header {
8383
height: 56px;
8484
top: 0;
85-
position: -webkit-sticky;
8685
position: sticky;
8786
flex-wrap: nowrap; } }
8887
@media (min-width: 600px) {
@@ -97,7 +96,7 @@
9796
top: 0; } }
9897
.edit-post-header > .edit-post-header__settings {
9998
order: 1; }
100-
@supports ((position: -webkit-sticky) or (position: sticky)) {
99+
@supports (position: sticky) {
101100
.edit-post-header > .edit-post-header__settings {
102101
order: initial; } }
103102

@@ -439,7 +438,7 @@ body.is-fullscreen-mode .edit-post-layout__content .components-editor-notices__s
439438
overscroll-behavior-y: none; } }
440439
.edit-post-layout__content .edit-post-visual-editor {
441440
flex: 1 1 auto; }
442-
@supports ((position: -webkit-sticky) or (position: sticky)) {
441+
@supports (position: sticky) {
443442
.edit-post-layout__content .edit-post-visual-editor {
444443
flex-basis: 100%; } }
445444
.edit-post-layout__content .edit-post-layout__metaboxes {
@@ -578,7 +577,6 @@ body.is-fullscreen-mode .edit-post-layout__content .components-editor-notices__s
578577
margin: 0 0 2rem 0; }
579578

580579
.edit-post-manage-blocks-modal__category-title {
581-
position: -webkit-sticky;
582580
position: sticky;
583581
top: 0;
584582
padding: 16px 0;
@@ -688,6 +686,16 @@ body.is-fullscreen-mode .edit-post-layout__content .components-editor-notices__s
688686
z-index: 5; }
689687
.edit-post-meta-boxes-area .is-hidden {
690688
display: none; }
689+
.edit-post-meta-boxes-area .postbox-container .postbox input[type="checkbox"],
690+
.edit-post-meta-boxes-area .postbox-container .postbox input[type="radio"] {
691+
border: 1px solid #6c7781; }
692+
.edit-post-meta-boxes-area .postbox-container .postbox input[type="checkbox"]:checked,
693+
.edit-post-meta-boxes-area .postbox-container .postbox input[type="radio"]:checked {
694+
background: #fff;
695+
border-color: #6c7781; }
696+
.edit-post-meta-boxes-area .postbox-container .postbox input[type="checkbox"]::before,
697+
.edit-post-meta-boxes-area .postbox-container .postbox input[type="radio"]::before {
698+
margin: -3px -4px; }
691699

692700
.edit-post-meta-boxes-area__clear {
693701
clear: both; }
@@ -864,7 +872,7 @@ body.is-fullscreen-mode .edit-post-layout__content .components-editor-notices__s
864872
.editor-post-author__select {
865873
margin: -5px 0;
866874
width: 100%; }
867-
@supports ((position: -webkit-sticky) or (position: sticky)) {
875+
@supports (position: sticky) {
868876
.editor-post-author__select {
869877
width: auto; } }
870878

@@ -933,7 +941,6 @@ body.is-fullscreen-mode .edit-post-layout__content .components-editor-notices__s
933941
padding-right: 0;
934942
padding-left: 4px;
935943
border-top: 0;
936-
position: -webkit-sticky;
937944
position: sticky;
938945
z-index: -1;
939946
top: 0; }

wp-includes/css/dist/edit-post/style-rtl.min.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

wp-includes/css/dist/edit-post/style.css

+13-6
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@
8282
.edit-post-header {
8383
height: 56px;
8484
top: 0;
85-
position: -webkit-sticky;
8685
position: sticky;
8786
flex-wrap: nowrap; } }
8887
@media (min-width: 600px) {
@@ -97,7 +96,7 @@
9796
top: 0; } }
9897
.edit-post-header > .edit-post-header__settings {
9998
order: 1; }
100-
@supports ((position: -webkit-sticky) or (position: sticky)) {
99+
@supports (position: sticky) {
101100
.edit-post-header > .edit-post-header__settings {
102101
order: initial; } }
103102

@@ -439,7 +438,7 @@ body.is-fullscreen-mode .edit-post-layout__content .components-editor-notices__s
439438
overscroll-behavior-y: none; } }
440439
.edit-post-layout__content .edit-post-visual-editor {
441440
flex: 1 1 auto; }
442-
@supports ((position: -webkit-sticky) or (position: sticky)) {
441+
@supports (position: sticky) {
443442
.edit-post-layout__content .edit-post-visual-editor {
444443
flex-basis: 100%; } }
445444
.edit-post-layout__content .edit-post-layout__metaboxes {
@@ -578,7 +577,6 @@ body.is-fullscreen-mode .edit-post-layout__content .components-editor-notices__s
578577
margin: 0 0 2rem 0; }
579578

580579
.edit-post-manage-blocks-modal__category-title {
581-
position: -webkit-sticky;
582580
position: sticky;
583581
top: 0;
584582
padding: 16px 0;
@@ -688,6 +686,16 @@ body.is-fullscreen-mode .edit-post-layout__content .components-editor-notices__s
688686
z-index: 5; }
689687
.edit-post-meta-boxes-area .is-hidden {
690688
display: none; }
689+
.edit-post-meta-boxes-area .postbox-container .postbox input[type="checkbox"],
690+
.edit-post-meta-boxes-area .postbox-container .postbox input[type="radio"] {
691+
border: 1px solid #6c7781; }
692+
.edit-post-meta-boxes-area .postbox-container .postbox input[type="checkbox"]:checked,
693+
.edit-post-meta-boxes-area .postbox-container .postbox input[type="radio"]:checked {
694+
background: #fff;
695+
border-color: #6c7781; }
696+
.edit-post-meta-boxes-area .postbox-container .postbox input[type="checkbox"]::before,
697+
.edit-post-meta-boxes-area .postbox-container .postbox input[type="radio"]::before {
698+
margin: -3px -4px; }
691699

692700
.edit-post-meta-boxes-area__clear {
693701
clear: both; }
@@ -864,7 +872,7 @@ body.is-fullscreen-mode .edit-post-layout__content .components-editor-notices__s
864872
.editor-post-author__select {
865873
margin: -5px 0;
866874
width: 100%; }
867-
@supports ((position: -webkit-sticky) or (position: sticky)) {
875+
@supports (position: sticky) {
868876
.editor-post-author__select {
869877
width: auto; } }
870878

@@ -937,7 +945,6 @@ body.is-fullscreen-mode .edit-post-layout__content .components-editor-notices__s
937945
padding-left: 0;
938946
padding-right: 4px;
939947
border-top: 0;
940-
position: -webkit-sticky;
941948
position: sticky;
942949
z-index: -1;
943950
top: 0; }

wp-includes/css/dist/edit-post/style.min.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

wp-includes/css/dist/editor/style-rtl.css

-3
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,6 @@
128128
padding: 1px 0; }
129129

130130
.components-editor-notices__dismissible {
131-
position: -webkit-sticky;
132131
position: sticky;
133132
top: 56px;
134133
left: 0;
@@ -379,8 +378,6 @@
379378
display: block;
380379
position: absolute;
381380
-webkit-touch-callout: none;
382-
-webkit-user-select: none;
383-
-moz-user-select: none;
384381
-ms-user-select: none;
385382
user-select: none;
386383
pointer-events: none;

wp-includes/css/dist/editor/style-rtl.min.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

wp-includes/css/dist/editor/style.css

-3
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,6 @@
128128
padding: 1px 0; }
129129

130130
.components-editor-notices__dismissible {
131-
position: -webkit-sticky;
132131
position: sticky;
133132
top: 56px;
134133
right: 0;
@@ -381,8 +380,6 @@
381380
display: block;
382381
position: absolute;
383382
-webkit-touch-callout: none;
384-
-webkit-user-select: none;
385-
-moz-user-select: none;
386383
-ms-user-select: none;
387384
user-select: none;
388385
pointer-events: none;

wp-includes/css/dist/editor/style.min.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)