Developer & Merchant Guide · 8 Official Devices · 32 Simulated Viewports

How to Run a Foldable Website Test & Test on iPhone Duo Without Hardware

Quick Answer · Summary

To test a website on iPhone Duo and run a cross-brand foldable website test without buying physical handsets, inspect four calibrated CSS postures in a browser simulator: iPhone Duo's compact cover display (466×678), unfolded inner display (890×626), side-by-side Split View (442×626), and rotated portrait (626×890), alongside Samsung Galaxy Z Fold 8/7, Galaxy Z Flip 7, and Huawei Mate X8, Mate X7, Mate XT, and Pura X. Pair automated 12-point DOM checks with exportable PDF repair reports before final WebKit validation in Xcode 27.1.

Who Needs Foldable Website Testing

Folding smartphones span book-style dual displays, wide-aspect folds, clamshells, and tri-folds across Apple, Samsung, and Huawei. Different teams hit distinct breakage patterns when visitors open a site on folding glass:

Frontend Developers

CSS & SPA Engineers

Catch 356–466px cover overflow, 750–924px unfolded breakpoint traps, bare 100vh clipping, and modals that land directly on the hinge crease.

E-Commerce Merchants

Shopify & DTC Stores

Keep sticky Add-to-Cart bars, product galleries, and Express Checkout buttons clickable on compact 356–466px cover panels and 372–459px Split View panes.

Agencies & QA

Multi-Client Delivery

Audit 32 simulated viewports across 8 official Apple, Samsung, and Huawei phones in under a second and export repeatable PDF, Markdown, or JSON client reports.

AI Builders

Cursor & Claude Code

Generate targeted CSS patches and copy-paste AI fix prompts grounded in exact computed DOM selectors instead of guesswork.

1. Unified 8-Device Viewport Reference (Apple · Samsung · Huawei)

Every tool in FoldCheck—the 3D browser simulator, QA checklist, CSS SDK, and Node.js CLI—uses the exact same calibrated 8-device, 32-posture logical CSS viewport matrix below. Note that real browser toolbars (such as Safari 27.1's retractable address chrome) reduce usable inner height dynamically, so always pair fluid widths with 100dvh and env(safe-area-inset-*).

Device (Official Fleet) Cover CSS Inner CSS Split / Flex Rotated
iPhone Duo
Apple · 5.4" Cover / 7.6" Inner OLED
466×678 890×626 442×626 626×890
Galaxy Z Fold 8
Samsung · 6.5" Wide Cover / 8.2" Inner
436×689 924×698 459×698 698×924
Galaxy Z Fold 7
Samsung · 6.5" 21:9 Cover / 8.0" Inner
412×960 750×832 372×832 832×750
Galaxy Z Flip 7
Samsung · 4.1" Safe-Area Cover / 6.9" Clamshell
361×300 411×960 411×474 960×411
Huawei Mate X8
Huawei · 6.54" Cover / 8.2" Inner Book
412×889 851×881 423×881 881×851
Huawei Mate X7
Huawei · 6.49" Cover / 8.0" Inner Book
393×889 804×879 399×879 879×804
Huawei Mate XT
Huawei · 6.4" Single / 10.2" Tri-Fold
360×797 1137×797 565×797 797×1137
Huawei Pura X
Huawei · 3.5" 1:1 Cover / 6.3" 16:10 Wide-Fold
356×356 480×771 480×382 771×480

2. Four-Step Workflow for Foldable Website Testing

Step 1 · Inspect Compact Cover Glass (356–466px)

Open the iPhone Duo simulator for websites and enter your domain or paste HTML. Confirm zero horizontal scroll (scrollWidth <= innerWidth) from Huawei Pura X (356×356) and Galaxy Z Flip 7 (361×300) up through iPhone Duo (466×678), readable 12px+ captions, and 44×44px tap targets.

Step 2 · Unfold to Inner Canvas (480–1137px)

Drag the 0°–180° hinge slider or click Inner. Verify your page upgrades cleanly into a balanced two-column grid on 750–924px inner displays (and three-column friendly reading widths on 1137px Mate XT) with at least a 32px center gutter clear of the vertical crease.

Step 3 · Sweep Split View, Flex Mode & All 8 Phones

Click Sweep All 8 Devices (32) to audit all 32 Apple, Samsung, and Huawei postures in under a second. This catches rigid pricing tables, non-wrapping flex headers in 372–459px Split View, and sticky bars that swallow over 22% of short Flex Mode (411×474 / 480×382) height.

Step 4 · Preview Live Fix, Export PDF & Lock in CI

Toggle Live Fix to verify the score jump inside the official phone frame, click Export PDF Report for client handoff, download foldcheck-patch.css, adopt the adaptive CSS SDK, or gate pull requests using our zero-dependency CLI.

3. E-Commerce & Merchant QA Playbook for Folding Phones

Online stores lose revenue disproportionately on dual-screen devices because high-intent shoppers unfold their phone specifically to compare product photos, size charts, and checkout totals:

  • Product Galleries Across the Hinge: On 750–924px inner screens (Z Fold 7/8, Mate X7/X8, iPhone Duo), a centered single-column image splits straight across the fold crease. Place product media in the left pane and price/Add-to-Cart controls in the right pane using a 36px center gap.
  • Sticky Checkout & Announcement Bars: Stacked promo banners + sticky headers + cookie notices + floating chat widgets routinely exceed 22% height on Z Flip 7 cover (361×300), Pura X cover (356×356), and top/bottom Flex Mode panes (480×382). Unstick secondary bars under @media (max-height: 500px).
  • Split-Screen Cart Drawers: Shoppers often open a store in a 372–459px Split View pane beside a coupon email or notes app. Ensure drawer widths use min(100vw, 400px) and Apple Pay / Shop Pay buttons keep 44×44px tap areas.

Track all 12 pass/fail criteria before every theme launch with the interactive 12-point website checklist.

4. Chrome DevTools vs. FoldCheck Studio vs. Xcode 27.1 vs. Hardware

CapabilityChrome DevToolsFoldCheck Studio & CLIXcode 27.1 SimulatorPhysical Device
8-device foldable presets (32 viewports)Manual custom setup1-click + 3D metallic hinge sliderApple iOS only (macOS)1 handset at a time
Automated 12-point DOM & crease auditManual inspectionInstant 0–100 score + PDF reportManual inspectionManual inspection
Live Auto-Fix CSS & AI Fix PromptNoIncluded + CLI --fix-cssNoNo
Real WebKit engine & hardware touchBlink onlySimulated viewport + Live FrameExact WebKit engineExact ground truth
Works on Windows / Linux / no installDesktop ChromeAny browser + Node 18+macOS required (~15 GB)Hardware purchase

For authenticated dashboards, localhost builds, or client-rendered React/Vue/Next.js SPAs, use Paste HTML, the In-Page DevTools Inspector, or the Node.js CLI.

5. Fold-Aware CSS Recipes & WebKit Feature Flags

To test experimental foldable web APIs in iOS 27 Safari or Xcode 27.1, open Settings → Apps → Safari → Advanced → Feature Flags and enable CSS Viewport Segments and Device Posture API. Always layer them as progressive enhancement over rock-solid responsive CSS:

A. Bridge the 700px–960px Unfolded Breakpoint

@media (min-width: 700px) and (max-width: 1180px) {
  .two-pane-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 36px; /* clears vertical hinge band cleanly */
    row-gap: 20px;
  }
  .prose-column { max-width: 66ch; margin-inline: auto; }
}

B. Progressive Enhancement with Viewport Segments & Device Posture

@media (horizontal-viewport-segments: 2) {
  .two-pane-grid {
    grid-template-columns: env(viewport-segment-width 0 0) env(viewport-segment-width 1 0);
    column-gap: calc(env(viewport-segment-left 1 0) - env(viewport-segment-right 0 0));
  }
}

@media (device-posture: folded) {
  .hero-split { flex-direction: column; }
}

C. Dynamic Viewport Height & Safe-Area Insets Across Fold Transitions

.hero {
  min-height: 100vh;
  min-height: 100dvh;
}
.fixed-bottom-bar {
  padding-bottom: max(12px, env(safe-area-inset-bottom));
}
@media (max-height: 500px) {
  .site-header { position: static; }
}

6. Recommended Official Specs & Developer Resources

Bookmark these primary engineering references alongside this guide when validating iOS Safari, Chrome, and cross-platform responsive standards:

7. What Still Requires a Physical Foldable Device

Browser simulation eliminates roughly 90% of responsive CSS bugs before QA ever touches hardware. Reserve physical device testing or Xcode 27.1 for five OS-level behaviors:

  • Retractable browser toolbars: Confirm primary CTAs stay reachable as Safari's retractable chrome or Chrome's bottom bar expands and collapses.
  • On-screen keyboard occlusion: Verify focused checkout fields remain visible when the virtual keyboard rises in Split View (372–459px) or Flex Mode.
  • Mid-session fold continuity: Confirm modals, video players, and scroll anchors preserve state during physical open/close events.
  • Physical hinge touch comfort: Check that frequent tap zones do not sit awkwardly across the spine ridge.
  • Dynamic Type & accessibility zoom: Test OS font-scaling overrides across cover and unfolded displays.

8. Frequently Asked Questions

Can I run a foldable website test on iPhone Duo without buying the handset or owning a Mac?

Yes. Use our free browser studio on Windows, Linux, or macOS to inspect iPhone Duo cover (466×678), unfolded inner (890×626), Split View (442×626), and rotated portrait (626×890) alongside 7 Samsung and Huawei foldables, run 12 automated DOM checks, preview Live Fix CSS, and export a PDF repair report.

Why do narrow cover displays like Huawei Pura X (356px) and Galaxy Z Flip 7 (361px) break responsive sites?

Many stylesheets are only tested down to 390px or 414px. Compact cover screens drop to 356–361px wide and 300–356px tall, causing rigid cards to overflow horizontally and stacked sticky headers to bury half the reading area.

Do I need User-Agent sniffing to adapt my website for iPhone Duo and foldable phones?

No. WebKit and Chromium guidelines advise against UA sniffing. Use fluid CSS Grid and Flexbox from 356px to 1137px, bridge the 750–924px unfolded breakpoint with a 32–36px center gutter, and layer @media (horizontal-viewport-segments: 2) plus @media (device-posture: folded).

How should Shopify and e-commerce merchants test checkout on folding phones?

Verify product pages unfolded (keep galleries and Buy boxes off the center hinge on 750–924px inner screens), closed on compact cover glass (keep sticky promo and Add-to-Cart bars under 22% height), and inside 372–459px Split View panes where shoppers compare coupons.

Which 8 folding phones are covered by FoldCheck's unified 32-viewport matrix?

FoldCheck aligns the browser studio, guide, checklist, CSS SDK, and Node.js CLI to the exact same 8 official devices: Apple iPhone Duo, Samsung Galaxy Z Fold 8, Galaxy Z Fold 7, Galaxy Z Flip 7, Huawei Mate X8, Huawei Mate X7, Huawei Mate XT tri-fold, and Huawei Pura X.