Почему размер текста Android несовместим в браузерах на базе Chromium?CSS

Разбираемся в CSS
Ответить
Anonymous
 Почему размер текста Android несовместим в браузерах на базе Chromium?

Сообщение Anonymous »

Если я установлю элементы p, li, caption и figcaption одинакового размера в pt с помощью 1rem , при отображении в браузерах на базе Chromium текст p в основной части будет значительно больше, чем в других элементах, даже по сравнению с элементами p в стороне.
Этот текст p может вернуться к тому же размеру, что и другие, позже или после некоторой регулировки масштабирования или масштабирования, но это с большей вероятностью произойдет в Chrome, чем в Edge.На настольных компьютерах, iOS или Firefox на Android все тексты имеют одинаковый размер.
Основной CSS — это body{normal нормальный нормальный 12pt с засечками и не изменен ни для одного из этих элементов.
Может кто-нибудь объяснить, почему это так?

Код: Выделить всё



Test

*{box-sizing:border-box}
body{font:normal normal normal 12pt/1.2 serif;width:40rem}
aside{width:45%;float:right;border:thin #aaa solid;margin-left:1rem;padding:.5rem 0 .5rem .5rem}
p,caption,li{font-size:1rem}
th,td{font-size:.9rem}





Now is the time for all good people to come to the aid of the earth.

Now is the time for all good people to come to the aid of the earth.

Now is the time for all good people to come to the aid of the earth. Now is the time for all good people to come to the aid of the earth. Now is the time for all good people to come to the aid of the earth.

Just an introduction:
[list]
[*]Now is the time for all good people to come to the aid of the earth. Now is the time for all good people to come to the aid of the earth. Now is the time for all good people to come to the aid of the earth.
[*]Now is the time for all good people to come to the aid of the earth. Now is the time for all good people to come to the aid of the earth. Now is the time for all good people to come to the aid of the earth.
[/list]


Just another introduction from LA:

1Now is the time
2Now is the time
3Now is the time








Подробнее здесь: https://stackoverflow.com/questions/787 ... d-browsers
Ответить

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

Вернуться в «CSS»