From f5bf03c9fe861a71b3f7fb971538a433af90b35c Mon Sep 17 00:00:00 2001 From: alexanderhess Date: Thu, 25 Feb 2021 19:48:14 +0100 Subject: [PATCH 1/3] My First Site, Added Glossary Site and fixed the link to device_pixel instead of device_pixels, Fixes #2682 --- files/en-us/glossary/css_pixel/index.html | 2 +- files/en-us/glossary/device_pixel/index.html | 25 ++++++++++++++++++++ 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 files/en-us/glossary/device_pixel/index.html diff --git a/files/en-us/glossary/css_pixel/index.html b/files/en-us/glossary/css_pixel/index.html index f02cc2aa96b66c3..3ee123c01034961 100644 --- a/files/en-us/glossary/css_pixel/index.html +++ b/files/en-us/glossary/css_pixel/index.html @@ -16,7 +16,7 @@

That definition, of course, leaves a lot of wiggle room, as the terms "be comfortably seen" and "an arm's length away" are imprecise, varying from person to person. When a user is sitting at a desk in front of a desktop, the display is generally substantially farther away from their eyes than when they're on a cell phone, for instance.

-

As such, it generally suffices to say that when the unit px is used, the goal is to try to have the distance 96px equal about 1 inch on the screen, regardless of the actual pixel density of the screen. In other words, if the user is on a phone with a pixel density of 266 DPI, and an element is placed on the screen with a width of 96px, the actual width of the element would be 266 {{Glossary("device pixels")}}.

+

As such, it generally suffices to say that when the unit px is used, the goal is to try to have the distance 96px equal about 1 inch on the screen, regardless of the actual pixel density of the screen. In other words, if the user is on a phone with a pixel density of 266 DPI, and an element is placed on the screen with a width of 96px, the actual width of the element would be 266 {{Glossary("device pixel")}}.

Learn more

diff --git a/files/en-us/glossary/device_pixel/index.html b/files/en-us/glossary/device_pixel/index.html new file mode 100644 index 000000000000000..7a2138e433a7f6a --- /dev/null +++ b/files/en-us/glossary/device_pixel/index.html @@ -0,0 +1,25 @@ +--- +title: device pixel +slug: Glossary/device_pixel +tags: + - physical pixel + - device pixel + - Glossary + - height + - length + - pixel + - size + - unit + - width +--- + +

The single physical "light bulb" on the display which is capable of displaying the full color independent of its neighbour is called a pixel(picture element).

+

Computer Screens does display content on the screen in pixels. This physical pixel is also called "device pixel".

+ +

Learn more

+ +

Learn about it

+ + From 9dc0abead2aaa462901ecb2edc40ae8b54e6cdce Mon Sep 17 00:00:00 2001 From: alexanderhess Date: Fri, 26 Feb 2021 19:39:44 +0100 Subject: [PATCH 2/3] Applied the Feedback --- files/en-us/glossary/css_pixel/index.html | 2 +- files/en-us/glossary/device_pixel/index.html | 10 ++++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/files/en-us/glossary/css_pixel/index.html b/files/en-us/glossary/css_pixel/index.html index 3ee123c01034961..3ab6def59a87ef1 100644 --- a/files/en-us/glossary/css_pixel/index.html +++ b/files/en-us/glossary/css_pixel/index.html @@ -16,7 +16,7 @@

That definition, of course, leaves a lot of wiggle room, as the terms "be comfortably seen" and "an arm's length away" are imprecise, varying from person to person. When a user is sitting at a desk in front of a desktop, the display is generally substantially farther away from their eyes than when they're on a cell phone, for instance.

-

As such, it generally suffices to say that when the unit px is used, the goal is to try to have the distance 96px equal about 1 inch on the screen, regardless of the actual pixel density of the screen. In other words, if the user is on a phone with a pixel density of 266 DPI, and an element is placed on the screen with a width of 96px, the actual width of the element would be 266 {{Glossary("device pixel")}}.

+

As such, it generally suffices to say that when the unit px is used, the goal is to try to have the distance 96px equal about 1 inch on the screen, regardless of the actual pixel density of the screen. In other words, if the user is on a phone with a pixel density of 266 DPI, and an element is placed on the screen with a width of 96px, the actual width of the element would be 266 {{Glossary("Device pixel","device pixels")}}.

Learn more

diff --git a/files/en-us/glossary/device_pixel/index.html b/files/en-us/glossary/device_pixel/index.html index 7a2138e433a7f6a..2878dbbb13aec07 100644 --- a/files/en-us/glossary/device_pixel/index.html +++ b/files/en-us/glossary/device_pixel/index.html @@ -1,6 +1,6 @@ --- -title: device pixel -slug: Glossary/device_pixel +title: Device pixel +slug: Glossary/Device_pixel tags: - physical pixel - device pixel @@ -13,8 +13,9 @@ - width --- -

The single physical "light bulb" on the display which is capable of displaying the full color independent of its neighbour is called a pixel(picture element).

-

Computer Screens does display content on the screen in pixels. This physical pixel is also called "device pixel".

+

A "pixel" is the single physical "light bulb" on the display which is capable of displaying the full color independent of its neighbours. Computer Screens displaying its content in pixels. This physical pixel is also called "device pixel".

+ +

In contrast to the device pixel the {{Glossary("CSS pixel","CSS pixel")}} is a unit of length which roughly corresponds to the width or height of a single dot. The CSS pixel is defined as the physical size of a single pixel at a pixel density of 96 DPI, located an arm's length away from the viewer's eyes.

Learn more

@@ -22,4 +23,5 @@

Learn about it

From 16020b704ca5def24c30adf185de24440634c74f Mon Sep 17 00:00:00 2001 From: Chris Mills Date: Tue, 16 Mar 2021 11:50:08 +0000 Subject: [PATCH 3/3] copy edit --- files/en-us/glossary/device_pixel/index.html | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/files/en-us/glossary/device_pixel/index.html b/files/en-us/glossary/device_pixel/index.html index 2878dbbb13aec07..17fe399daa8f85f 100644 --- a/files/en-us/glossary/device_pixel/index.html +++ b/files/en-us/glossary/device_pixel/index.html @@ -13,15 +13,13 @@ - width --- -

A "pixel" is the single physical "light bulb" on the display which is capable of displaying the full color independent of its neighbours. Computer Screens displaying its content in pixels. This physical pixel is also called "device pixel".

+

A "pixel" is a single physical "light bulb" on a display that is capable of displaying a full color independent of its neighbours. Computer screens displaying their content in pixels. This physical pixel is also called a "device pixel".

-

In contrast to the device pixel the {{Glossary("CSS pixel","CSS pixel")}} is a unit of length which roughly corresponds to the width or height of a single dot. The CSS pixel is defined as the physical size of a single pixel at a pixel density of 96 DPI, located an arm's length away from the viewer's eyes.

+

In contrast to the device pixel the {{Glossary("CSS pixel","CSS pixel")}} is a unit of length which roughly corresponds to the width or height of a single dot. The CSS pixel is defined as the physical size of a single pixel at a pixel density of 96 DPI, located an arm's length away from the viewer's eyes. A CSS pixel is therefore equivalent to many device pixels.

Learn more

-

Learn about it

-